We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AST_NODE_TYPES
1 parent df3202f commit aac5f03Copy full SHA for aac5f03
src/rules/prefer-importing-jest-globals.ts
@@ -67,7 +67,7 @@ export default createRule({
67
return {
68
ImportDeclaration(node: TSESTree.ImportDeclaration) {
69
node.specifiers.forEach(specifier => {
70
- if (specifier.type === 'ImportSpecifier') {
+ if (specifier.type === AST_NODE_TYPES.ImportSpecifier) {
71
importedFunctionsWithSource[specifier.local.name] =
72
node.source.value;
73
}
0 commit comments