From 92c710ef5d145ad098ac749ab8d28ba099373870 Mon Sep 17 00:00:00 2001 From: hobbes7878 Date: Wed, 21 May 2025 09:48:30 +0100 Subject: [PATCH] allow unknown type on theme --- src/components/Theme/@types/component.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/Theme/@types/component.ts b/src/components/Theme/@types/component.ts index c771d653..7788d6b4 100644 --- a/src/components/Theme/@types/component.ts +++ b/src/components/Theme/@types/component.ts @@ -47,12 +47,8 @@ export interface Theme { font: Font; } -export interface CustomProperties { - [key: string]: string | number | boolean | object | []; -} - export interface CustomTheme { colour?: Partial; font?: Partial; - customProperties?: CustomProperties; + customProperties?: unknown; }