From ce0b809127badd1d6840820810159394cdae2e03 Mon Sep 17 00:00:00 2001 From: Fractal-Tess Date: Fri, 12 May 2023 23:29:16 +0300 Subject: [PATCH] remove datalink type --- src/types.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/types.ts b/src/types.ts index e670969..5d79eb8 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,15 +1,2 @@ -import type { IconDefinition } from '@fortawesome/free-solid-svg-icons'; - export const themes = ['dark', 'light'] as const; -export type Theme = typeof themes[number]; - -export type NavLink = { - target: { - href: string; - newTab?: boolean; - }; - content: { - text?: string; - icon?: IconDefinition; - }; -}; +export type Theme = (typeof themes)[number];