-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatinggood first issueGood for newcomersGood for newcomershas prthere is a PR raised to close thisthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree
Description
My dependencies:
"dependencies": {
"@typescript-eslint/typescript-estree": "^1.4.2",
"typescript": "^3.3.3333"
}
I have a file containing the single line
import * as tsParser from "@typescript-eslint/typescript-estree";
which fails to typecheck:
node_modules/@typescript-eslint/typescript-estree/dist/ts-nodes.d.ts:1:8 - error TS1192: Module '[redacted]/node_modules/typescript/lib/typescript"' has no default export.
1 import ts from 'typescript';
~~
It works if I enable allowSyntheticDefaultImports
in my tsconfig.json, but it might be better to just import * as ts from 'typescript'
instead.
package | version |
---|---|
@typescript-eslint/typescript-estree |
1.4.2 |
TypeScript |
3.3.3333 |
node |
v11.7.0 |
npm |
6.7.0 |
Metadata
Metadata
Assignees
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatinggood first issueGood for newcomersGood for newcomershas prthere is a PR raised to close thisthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree