Skip to content

Commit

Permalink
Export LiteralUnion type
Browse files Browse the repository at this point in the history
  • Loading branch information
izyuumi committed Aug 21, 2023
1 parent 5d78a7d commit 407ee7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export type PredefinedColors =
| 'medium'
| 'dark';

type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);
export type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);

export type Color = LiteralUnion<PredefinedColors, string>;
export type Mode = 'ios' | 'md';
Expand Down

0 comments on commit 407ee7c

Please sign in to comment.