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 45f47b2 commit 40a94f5Copy full SHA for 40a94f5
src/rules/no-duplicates.js
@@ -533,7 +533,7 @@ module.exports = {
533
checkImports(map.defaultTypesImported, context);
534
checkImports(map.namedTypesImported, context);
535
536
- const duplicatedImports = new Map([...map.inlineTypesImported]);
+ const duplicatedImports = new Map(map.inlineTypesImported);
537
map.imported.forEach((value, key) => {
538
if (duplicatedImports.has(key)) {
539
duplicatedImports.get(key).push(...value);
0 commit comments