We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddec7b2 commit 3fe62daCopy full SHA for 3fe62da
src/rules/no-duplicates.js
@@ -529,7 +529,7 @@ module.exports = {
529
checkImports(map.defaultTypesImported, context);
530
checkImports(map.namedTypesImported, context);
531
532
- const duplicatedImports = new Map([...map.inlineTypesImported]);
+ const duplicatedImports = new Map(map.inlineTypesImported);
533
map.imported.forEach((value, key) => {
534
if (duplicatedImports.has(key)) {
535
duplicatedImports.get(key).push(...value);
0 commit comments