Skip to content

Commit

Permalink
fix(types): remove crufty type branch
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Mar 17, 2023
1 parent eaf829d commit 9fa412a
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 @@ -125,7 +125,7 @@ export type SynthesizedPath<T extends Record<string, unknown>> = {
? `${string & P}.${SynthesizedPath<T[P]>}`
: `${string & P}`)
| number
}[T extends any[] ? number & keyof T : keyof T]
}[keyof T]

export type ThemeNamespaceValue<K extends string, T extends ITheme> =
| NamespaceType<T[K]>
Expand Down

0 comments on commit 9fa412a

Please sign in to comment.