Skip to content

Commit

Permalink
Merge pull request #5365 from GeekyAnts/fix/size-typing
Browse files Browse the repository at this point in the history
fix: add unknown
  • Loading branch information
ankit-tailor authored Sep 15, 2022
2 parents ef47454 + 96deb21 commit f40d9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/types/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type ThemeComponentSizeType<
> = ResponsiveValue<
'sizes' extends keyof ITheme['components'][Component]
? keyof ITheme['components'][Component]['sizes'] | (string & {}) | number
: never
: unknown
>;

export type CombinedSizeType<Component extends keyof ITheme['components']> =
Expand Down

0 comments on commit f40d9c1

Please sign in to comment.