Merge pull request #311 from reuters-graphics/jon-ts-fix

Allow unknown type on theme
This commit is contained in:
Jon McClure 2025-05-21 09:50:03 +01:00 committed by GitHub
commit 6535194a73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}