Skip to content

Commit

Permalink
Refactor enum values types
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Dec 28, 2023
1 parent bb59cce commit 3558aae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/@types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export enum Autorename {
strict = 'strict'
}

export type ModeValues = keyof typeof Mode;
export type SourceValues = keyof typeof Source;
export type AutorenameValues = keyof typeof Autorename;
export type ModeValues = `${Mode}`;
export type SourceValues = `${Source}`;
export type AutorenameValues = `${Autorename}`;

export type strings = string | string[];

Expand Down

0 comments on commit 3558aae

Please sign in to comment.