summaryrefslogtreecommitdiff
path: root/src/node.ts
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-03-14 19:29:29 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-03-14 19:29:29 -0400
commitc63738e17df4d5bfff2049a6d1c445c609c2189e (patch)
tree5e64cdbcd49a3d6f7348cff8ad80a8eafb6dc83c /src/node.ts
parent71abdb2ee3f5bdb1e029c9f4266f4b797fa960f9 (diff)
fix: fix lots of type errors
Diffstat (limited to 'src/node.ts')
-rw-r--r--src/node.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node.ts b/src/node.ts
index 1f4d5eb..76ed42b 100644
--- a/src/node.ts
+++ b/src/node.ts
@@ -1,4 +1,5 @@
import { createContext, FunctionComponent } from 'preact';
+import type { Signal } from '@preact/signals';
import { InputSocket } from './dataflow.ts';
export type SocketHandler = (nodeId: number, socket: string, event: MouseEvent) => void;