mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-26 06:55:07 +08:00
feat(themes): deep merge themes by default
This commit is contained in:
4
components/utils/types.d.ts
vendored
Normal file
4
components/utils/types.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
export type DeepPartial<T> = {
|
||||
[P in keyof T]?: T[P] extends Record<string, any> ? DeepPartial<T[P]> : T[P]
|
||||
}
|
||||
Reference in New Issue
Block a user