modifies CustomProperties to avoid unknown

This commit is contained in:
MinamiFunakoshiTR 2025-05-20 13:37:35 -07:00
parent 6471bbf93e
commit 5d64c5be5f
Failed to extract signature

View file

@ -47,8 +47,12 @@ export interface Theme {
font: Font; font: Font;
} }
export interface CustomProperties {
[key: string]: string | number | boolean | object | [];
}
export interface CustomTheme { export interface CustomTheme {
colour?: Partial<Colour>; colour?: Partial<Colour>;
font?: Partial<CustomFont>; font?: Partial<CustomFont>;
[key: string]: unknown; customProperties?: CustomProperties;
} }