Skip to content

Commit

Permalink
Accept Node as Loop parameter (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Jan 4, 2025
1 parent 64ef5ec commit 5bd8011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/three/src/nodes/utils/LoopNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface LoopNodeObjectParameter {
condition: string;
}

type LoopNodeParameter = number | LoopNodeObjectParameter;
type LoopNodeParameter = Node | number | LoopNodeObjectParameter;

declare class LoopNode extends Node {
params: unknown[];
Expand Down

0 comments on commit 5bd8011

Please sign in to comment.