We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179c605 commit 197bca9Copy full SHA for 197bca9
src/rules/no-wildcard-imports.js
@@ -406,7 +406,7 @@ module.exports = {
406
// Reuse a type import if it exists
407
if (typeImportDeclaration) {
408
const firstSpecifier = typeImportDeclaration.specifiers[0]
409
- const lastSpecifier = typeImportDeclaration.specifiers[importDeclaration.specifiers.length - 1]
+ const lastSpecifier = typeImportDeclaration.specifiers[typeImportDeclaration.specifiers.length - 1]
410
411
if (defaultTypeSpecifier) {
412
const postfix =
0 commit comments