Skip to content

Commit c2052aa

Browse files
authored
fix: types added for the name
1 parent e4aa773 commit c2052aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/types.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,20 @@ type Config = {
33
rules: Record<string, any>;
44
};
55

6+
type FlatConfig = Config & {
7+
name: string;
8+
};
9+
610
declare const _default: {
711
rules: Record<string, any>;
812
configs: {
913
recommended: Config;
1014
vite: Config;
1115
};
16+
flatConfigs: {
17+
recommended: FlatConfig;
18+
vite: FlatConfig;
19+
};
1220
};
1321

1422
export = _default;

0 commit comments

Comments
 (0)