fix: use satisfies instead as

This commit is contained in:
xHyroM 2023-06-03 17:43:43 +02:00
parent 3be55e7c81
commit 8ead46a01d
No known key found for this signature in database
GPG key ID: BE0423F386C436AA

View file

@ -24,7 +24,7 @@ export const socials = [
link: "https://ko-fi.com/xhyrom", link: "https://ko-fi.com/xhyrom",
icon: "ko-fi.png", icon: "ko-fi.png",
}, },
] as { ] satisfies {
name: string; name: string;
link: string; link: string;
icon: string; icon: string;
@ -128,9 +128,10 @@ export const skills = [
name: "IntelliJ IDEA", name: "IntelliJ IDEA",
icon: "logos:intellij-idea", icon: "logos:intellij-idea",
}, },
] as { ] satisfies {
name: string; name: string;
icon: string; icon: string;
color?: string;
}[]; }[];
export const projects = [ export const projects = [
@ -209,7 +210,7 @@ export const projects = [
link: "https://github.com/xHyroM/spawnergenz", 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.", 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; name: string;
link: string; link: string;
desc: string; desc: string;