chore: fix some type issues

This commit is contained in:
2026-05-05 21:28:03 +02:00
parent 1d60090ffe
commit f0cb12a088
4 changed files with 6 additions and 2 deletions
-1
View File
@@ -9,7 +9,6 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"module": "NodeNext",
"moduleResolution": "bundler"
}
}
+1
View File
@@ -41,6 +41,7 @@
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@testing-library/svelte": "^5.3.1",
"@types/eslint": "^9.6.1",
"@types/node": "^25.6.0",
"@types/three": "^0.184.0",
"@typescript-eslint/eslint-plugin": "^8.59.1",
"@typescript-eslint/parser": "^8.59.1",
+2 -1
View File
@@ -1,4 +1,5 @@
<script lang="ts">
import type { NodeInput } from '@nodarium/types';
import '$lib/app.css';
import {
Details,
@@ -39,7 +40,7 @@
settings: { seed: 42, enabled: true }
});
let socketTypes = $state({
let socketTypes: Record<string, NodeInput> = $state({
input_0: {
'label': 'Input 0',
'type': 'path'