Skip to content

Commit

Permalink
switch and to or
Browse files Browse the repository at this point in the history
  • Loading branch information
roginfarrer committed Mar 25, 2021
1 parent e5140a8 commit d53fb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Expand Up @@ -55,7 +55,7 @@ type ScaleLookup<
Token extends TokenScales,
TTheme extends Theme = Theme
> = TTheme[Token] extends Array<string | number>
? KeyOf<TTheme[Token]> & TTheme[Token][number]
? TTheme[Token][number] | KeyOf<TTheme[Token]>
: TTheme[Token] extends object
? KeyOf<TTheme[Token]>
: never;
Expand Down

0 comments on commit d53fb6f

Please sign in to comment.