Test-Typfix

This commit is contained in:
karim committed 2026-10-23 13:19:31 +02:00
1 parent 6d22e3a68b
commit 2b250a1efa
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ import { solidCommand, solidFromInputs } from "./solid";
const ctx = { project: sampleProject, level: { id: "eg" } } as unknown as CommandContext;
function run(shape: string, steps: Array<{ kind: "point"; point: { x: number; y: number } } | { kind: "number"; value: number }>) {
let state = solidCommand.init(ctx);
let state = solidCommand.init();
[state] = solidCommand.onInput(state, { kind: "option", id: shape }, ctx);
let commit: ((p: typeof sampleProject) => typeof sampleProject) | undefined;
for (const st of steps) {