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 as not planned
Closed as not planned
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.
Relevant Package
typescript-eslint
Playground Link
No response
Repro Code
// eslint.config.tsimporteslintfrom"@eslint/js";importtseslintfrom"typescript-eslint";importtype{Linter}from"eslint";exportdefault[eslint.configs.recommended,tseslint.configs.recommended,]satisfiesLinter.Config[];
ESLint Config
// eslint.config.tsimporteslintfrom"@eslint/js";importtseslintfrom"typescript-eslint";importtype{Linter}from"eslint";exportdefault[eslint.configs.recommended,tseslint.configs.recommended,]satisfiesLinter.Config[];
tsconfig
Expected Result
When using eslint.config.ts file expect tseslint.configs.recommended to satisfy Linter.Config[].
Actual Result
Type 'ConfigArray' has no properties in common with type 'Config'.
Additional Info
No response
Versions
package | version |
---|---|
typescript-eslint | 8.24.1 |
TypeScript | 5.7.3 |
ESLint | 9.21.0 |
jiti | 2.4.2 |
node | 22.14.0 |