Skip to content

Commit 098ee4c

Browse files
committed
undo changes to rule
1 parent c2091cc commit 098ee4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rules/no-duplicates.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,7 @@ export = createRule<[Options?], MessageId>({
489489

490490
if (
491491
!preferInline &&
492-
n.specifiers.length > 0 &&
493-
n.specifiers.every(
492+
n.specifiers.some(
494493
spec => 'importKind' in spec && spec.importKind === 'type',
495494
)
496495
) {

0 commit comments

Comments
 (0)