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",
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;