mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 10:50:40 +01:00
fix(types): handle sub-objects in app.config.ts (button colors)
Fixes #858
This commit is contained in:
2
src/runtime/types/utils.d.ts
vendored
2
src/runtime/types/utils.d.ts
vendored
@@ -7,5 +7,5 @@ export type NestedKeyOf<ObjectType extends object> = {
|
|||||||
}[keyof ObjectType];
|
}[keyof ObjectType];
|
||||||
|
|
||||||
export type DeepPartial<T> = Partial<{
|
export type DeepPartial<T> = Partial<{
|
||||||
[P in keyof T]: DeepPartial<T[P]> | { [key: string]: string };
|
[P in keyof T]: DeepPartial<T[P]> | { [key: string]: string | object };
|
||||||
}>;
|
}>;
|
||||||
|
|||||||
Reference in New Issue
Block a user