Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Issue Description
When I usetsc
, I get some errors when build.
node_modules/typescript/lib/typescript.d.ts:6021:15 - error TS2320: Interface 'AssertEntry' cannot simultaneously extend types 'ImportAttribute' and 'Node'. Named property 'kind' of types 'ImportAttribute' and 'Node' are not identical.6021 interface AssertEntry extends ImportAttribute { ~~~~~~~~~~~node_modules/typescript/lib/typescript.d.ts:6021:15 - error TS2320: Interface 'AssertEntry' cannot simultaneously extend types 'ImportAttribute' and 'Node'. Named property 'parent' of types 'ImportAttribute' and 'Node' are not identical.6021 interface AssertEntry extends ImportAttribute { ~~~~~~~~~~~node_modules/typescript/lib/typescript.d.ts:6024:15 - error TS2320: Interface 'AssertClause' cannot simultaneously extend types 'ImportAttributes' and 'Node'. Named property 'kind' of types 'ImportAttributes' and 'Node' are not identical.6024 interface AssertClause extends ImportAttributes { ~~~~~~~~~~~~node_modules/typescript/lib/typescript.d.ts:6024:15 - error TS2320: Interface 'AssertClause' cannot simultaneously extend types 'ImportAttributes' and 'Node'. Named property 'parent' of types 'ImportAttributes' and 'Node' are not identical.6024 interface AssertClause extends ImportAttributes { ~~~~~~~~~~~~Found 4 errors in the same file, starting at: node_modules/typescript/lib/typescript.d.ts:6021
It seems there are still errors after#7968 fix
Reproduction Repository Link
https://stackblitz.com/edit/nhmdzj?file=index.ts&file=tsconfig.json
Repro Steps
- open link
npm install
npm run build
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 6.13.2 |
TypeScript | 5.3.3 |