Skip to content

Commit ed7a377

Browse files
committed
fix: no need to be generic
1 parent 237eb74 commit ed7a377

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/eslint-config/src/utils/eslint.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import type {
88
* which does not inherit the files property. @eslint/config-helpers extends will
99
* inherit files, but typescript-eslint does not, so this function sets files to an empty array.
1010
*/
11-
export const prepareForExtend = <T extends ConfigWithExtendsArray>(
12-
...configs: T
13-
) => {
11+
export const prepareForExtend = (...configs: ConfigWithExtendsArray) => {
1412
return stripFiles(configs);
1513
};
1614

0 commit comments

Comments
 (0)