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 have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Relevant Package
typescript-eslint
Playground Link
No response
Repro Code
// eslint.config.ts
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import type { Linter } from "eslint";
export default [
eslint.configs.recommended,
tseslint.configs.recommended,
] satisfies Linter.Config[];
ESLint Config
// eslint.config.ts
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import type { Linter } from "eslint";
export default [
eslint.configs.recommended,
tseslint.configs.recommended,
] satisfies Linter.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 |