Skip to content

Commit

Permalink
fix ThemeNamespaceValue type
Browse files Browse the repository at this point in the history
  • Loading branch information
strozw committed Jan 11, 2022
1 parent a1ab6b4 commit 7a430a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/system/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ declare type SynthesizedPath<T extends {}> = {
export type ThemeNamespaceValue<
K extends string,
T extends ITheme,
> = SynthesizedPath<T[K]>
> = SynthesizedPath<T[K]> | number | string | false

export interface ThemeGetter<T = any> {
(value: T, defaultValue?: CSSScalar): (props: Props<Theme>) => CSSScalar
Expand Down

0 comments on commit 7a430a9

Please sign in to comment.