Closed
Description
openedon Aug 22, 2021
import type {} from './module';
// TypeError: Cannot read property 'type' of undefined
// Occurred while linting [project]\file.ts:10
// at getImportMap ([project]\node_modules\eslint-plugin-import\lib\rules\no-duplicates.js:284:34)
// at ImportDeclaration ([project]\node_modules\eslint-plugin-import\lib\rules\no-duplicates.js:294:29)
// at [project]\node_modules\eslint\lib\linter\safe-emitter.js:45:58
// at Array.forEach (<anonymous>)
// at Object.emit ([project]\node_modules\eslint\lib\linter\safe-emitter.js:45:38)
// at NodeEventGenerator.applySelector ([project]\node_modules\eslint\lib\linter\node-event-generator.js:293:26)
// at NodeEventGenerator.applySelectors ([project]\node_modules\eslint\lib\linter\node-event-generator.js:322:22)
// at NodeEventGenerator.enterNode ([project]\node_modules\eslint\lib\linter\node-event-generator.js:336:14)
// at CodePathAnalyzer.enterNode ([project]\node_modules\eslint\lib\linter\code-path-analysis\code-path-analyzer.js:711:23)
// at [project]\node_modules\eslint\lib\linter\linter.js:960:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels