Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronMoat committed Sep 29, 2024
1 parent 9eeca25 commit 5d5ff0e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/rules/no-duplicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,15 @@ export = createRule<[Options?], MessageId>({
}

if (n.importKind === 'type') {
if (n.specifiers.length > 0 && n.specifiers[0].type === 'ImportDefaultSpecifier') {
return map.defaultTypesImported;
if (
n.specifiers.length > 0 &&
n.specifiers[0].type === 'ImportDefaultSpecifier'
) {
return map.defaultTypesImported
}

if (!preferInline) {
return map.namedTypesImported;
return map.namedTypesImported
}
}

Expand Down

0 comments on commit 5d5ff0e

Please sign in to comment.