From 4e168d86dfd01795c8ac3736450c4664d3e857f8 Mon Sep 17 00:00:00 2001 From: thelazylama Date: Fri, 27 Mar 2026 20:35:09 +1100 Subject: [PATCH] TSL: Make Switch Case return void --- types/three/src/nodes/core/StackNode.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/three/src/nodes/core/StackNode.d.ts b/types/three/src/nodes/core/StackNode.d.ts index 52f31da83..87754e7e5 100644 --- a/types/three/src/nodes/core/StackNode.d.ts +++ b/types/three/src/nodes/core/StackNode.d.ts @@ -15,7 +15,7 @@ declare class StackNode extends Node { Switch(expression: Node): this; - Case(...params: Node[]): this; + Case(...params: [...Node[], () => void]): this; Default(method: () => void): this; }