Skip to content

Commit

Permalink
StackNode: Rename if -> If, else -> Else, elseif -> ElseIf (
Browse files Browse the repository at this point in the history
  • Loading branch information
linbingquan authored Aug 23, 2024
1 parent e72f131 commit 331bdd9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion types/three/src/nodes/core/StackNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@ export default class StackNode extends Node {

add(node: Node): this;

if(boolNode: Node, method: () => void): this;
If(boolNode: Node, method: () => void): this;

ElseIf(node: Node, method: () => void): this;

Else(node: Node, method: () => void): this;

/**
* @deprecated Use {@link StackNode#ElseIf Else()} instead.
*/
elseif(node: Node, method: () => void): this;

/**
* @deprecated Use {@link StackNode#Else Else()} instead.
*/
else(node: Node, method: () => void): this;
}

0 comments on commit 331bdd9

Please sign in to comment.