From 8ead46a01d2832626eae4496fcfe1c13c2d470fb Mon Sep 17 00:00:00 2001 From: xHyroM Date: Sat, 3 Jun 2023 17:43:43 +0200 Subject: [PATCH] fix: use satisfies instead as --- src/config.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config.ts b/src/config.ts index b89c528..54ea48d 100644 --- a/src/config.ts +++ b/src/config.ts @@ -24,7 +24,7 @@ export const socials = [ link: "https://ko-fi.com/xhyrom", icon: "ko-fi.png", }, -] as { +] satisfies { name: string; link: string; icon: string; @@ -128,9 +128,10 @@ export const skills = [ name: "IntelliJ IDEA", icon: "logos:intellij-idea", }, -] as { +] satisfies { name: string; icon: string; + color?: string; }[]; export const projects = [ @@ -209,7 +210,7 @@ export const projects = [ link: "https://github.com/xHyroM/spawnergenz", desc: "Spawner Genz is a plugin that modifies the functionality of spawners so that they don't spawn entities, but instead store drops in a virtual storag in which you can then sell or move everything to your inventory.", }, -] as { +] satisfies { name: string; link: string; desc: string;