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; }