From c477b6c83ba58b601b4199846d50f41c01886d06 Mon Sep 17 00:00:00 2001 From: pheralb Date: Thu, 22 Aug 2024 14:22:35 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Fix=20category=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/svg.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/types/svg.ts b/src/types/svg.ts index 72455c4..6d568e3 100644 --- a/src/types/svg.ts +++ b/src/types/svg.ts @@ -1,8 +1,5 @@ import type { tCategory } from './categories'; -type CategoryPair = [tCategory, tCategory]; -type CategoryTriple = [tCategory, tCategory, tCategory]; - export type ThemeOptions = { dark: string; light: string; @@ -11,7 +8,7 @@ export type ThemeOptions = { export interface iSVG { id?: number; title: string; - category: tCategory | CategoryPair | CategoryTriple; + category: tCategory | tCategory[]; route: string | ThemeOptions; wordmark?: string | ThemeOptions; url: string;