From 5d64c5be5f4e56d10a0518ec41e11b4debb35d88 Mon Sep 17 00:00:00 2001 From: MinamiFunakoshiTR Date: Tue, 20 May 2025 13:37:35 -0700 Subject: [PATCH] modifies CustomProperties to avoid unknown --- src/components/Theme/@types/component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Theme/@types/component.ts b/src/components/Theme/@types/component.ts index 94e8eb7e..b8e93e9e 100644 --- a/src/components/Theme/@types/component.ts +++ b/src/components/Theme/@types/component.ts @@ -47,8 +47,12 @@ export interface Theme { font: Font; } +export interface CustomProperties { + [key: string]: string | number | boolean | object | []; +} + export interface CustomTheme { colour?: Partial; font?: Partial; - [key: string]: unknown; + customProperties?: CustomProperties; }