Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: make EnumFlagOptions#options of type T[] instead of string (
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed May 15, 2020
1 parent c4486e6 commit 2fefccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type Definition<T> = {
}

export type EnumFlagOptions<T> = Partial<IOptionFlag<T>> & {
options: string[];
options: T[];
}

export type IFlag<T> = IBooleanFlag<T> | IOptionFlag<T>
Expand Down

0 comments on commit 2fefccb

Please sign in to comment.