Merge pull request #311 from reuters-graphics/jon-ts-fix
Allow unknown type on theme
This commit is contained in:
commit
6535194a73
1 changed files with 1 additions and 5 deletions
|
|
@ -47,12 +47,8 @@ export interface Theme {
|
|||
font: Font;
|
||||
}
|
||||
|
||||
export interface CustomProperties {
|
||||
[key: string]: string | number | boolean | object | [];
|
||||
}
|
||||
|
||||
export interface CustomTheme {
|
||||
colour?: Partial<Colour>;
|
||||
font?: Partial<CustomFont>;
|
||||
customProperties?: CustomProperties;
|
||||
customProperties?: unknown;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue