Skip to content

Commit 40a94f5

Browse files
snewcomerljharb
andauthored
Update src/rules/no-duplicates.js
Co-authored-by: Jordan Harband <ljharb@gmail.com>
1 parent 45f47b2 commit 40a94f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/no-duplicates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ module.exports = {
533533
checkImports(map.defaultTypesImported, context);
534534
checkImports(map.namedTypesImported, context);
535535

536-
const duplicatedImports = new Map([...map.inlineTypesImported]);
536+
const duplicatedImports = new Map(map.inlineTypesImported);
537537
map.imported.forEach((value, key) => {
538538
if (duplicatedImports.has(key)) {
539539
duplicatedImports.get(key).push(...value);

0 commit comments

Comments
 (0)