From 81580ccd8c1db30ce83433c4c4df84bd660d3460 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Thu, 12 Feb 2026 22:33:25 +0100 Subject: [PATCH] fix: cleanup some type errors --- app/src/lib/node-registry/debugNode.ts | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/app/src/lib/node-registry/debugNode.ts b/app/src/lib/node-registry/debugNode.ts index f86fcd5..224f9e6 100644 --- a/app/src/lib/node-registry/debugNode.ts +++ b/app/src/lib/node-registry/debugNode.ts @@ -1,15 +1,3 @@ -const data: Record = {}; - -export function clearDebugData() { - for (const key in data) { - delete data[key]; - } -} - -export function getDebugData() { - return { ...data }; -} - export const debugNode = { id: 'max/plantarium/debug', inputs: { @@ -17,5 +5,7 @@ export const debugNode = { type: '*' } }, - execute() {} + execute(_data: Int32Array): Int32Array { + return _data; + } } as const;