modifies CustomProperties to avoid unknown
This commit is contained in:
parent
6471bbf93e
commit
5d64c5be5f
1 changed files with 5 additions and 1 deletions
|
|
@ -47,8 +47,12 @@ export interface Theme {
|
|||
font: Font;
|
||||
}
|
||||
|
||||
export interface CustomProperties {
|
||||
[key: string]: string | number | boolean | object | [];
|
||||
}
|
||||
|
||||
export interface CustomTheme {
|
||||
colour?: Partial<Colour>;
|
||||
font?: Partial<CustomFont>;
|
||||
[key: string]: unknown;
|
||||
customProperties?: CustomProperties;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue