Skip to content

Commit

Permalink
fix bad change
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Feb 1, 2023
1 parent af024ee commit da7b02f
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -32,11 +32,12 @@ export default util.createRule<Options, MessageIds>({
const specifiers: TSESTree.ImportSpecifier[] = [];
for (const specifier of node.specifiers) {
if (
specifier.type === AST_NODE_TYPES.ImportSpecifier &&
specifier.importKind === 'type'
specifier.type !== AST_NODE_TYPES.ImportSpecifier ||
specifier.importKind !== 'type'
) {
specifiers.push(specifier);
return;
}
specifiers.push(specifier);
}

context.report({
Expand Down

0 comments on commit da7b02f

Please sign in to comment.