fix: cleanup some type errors
This commit is contained in:
@@ -1,15 +1,3 @@
|
|||||||
const data: Record<string, unknown> = {};
|
|
||||||
|
|
||||||
export function clearDebugData() {
|
|
||||||
for (const key in data) {
|
|
||||||
delete data[key];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function getDebugData() {
|
|
||||||
return { ...data };
|
|
||||||
}
|
|
||||||
|
|
||||||
export const debugNode = {
|
export const debugNode = {
|
||||||
id: 'max/plantarium/debug',
|
id: 'max/plantarium/debug',
|
||||||
inputs: {
|
inputs: {
|
||||||
@@ -17,5 +5,7 @@ export const debugNode = {
|
|||||||
type: '*'
|
type: '*'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
execute() {}
|
execute(_data: Int32Array): Int32Array {
|
||||||
|
return _data;
|
||||||
|
}
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
Reference in New Issue
Block a user