Skip to content

Commit 3558aae

Browse files
committed
Refactor enum values types
1 parent bb59cce commit 3558aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/@types/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export enum Autorename {
2121
strict = 'strict'
2222
}
2323

24-
export type ModeValues = keyof typeof Mode;
25-
export type SourceValues = keyof typeof Source;
26-
export type AutorenameValues = keyof typeof Autorename;
24+
export type ModeValues = `${Mode}`;
25+
export type SourceValues = `${Source}`;
26+
export type AutorenameValues = `${Autorename}`;
2727

2828
export type strings = string | string[];
2929

0 commit comments

Comments
 (0)