Skip to content

Commit

Permalink
fix type def
Browse files Browse the repository at this point in the history
  • Loading branch information
rexrainbow committed Sep 28, 2024
1 parent 560ef5f commit 73e95f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/ui/trees/tree/Tree.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ declare class Tree extends Folder {
readonly isNode: false;

readonly nodesMap: { [nodeKey: string]: Phaser.GameObjects.GameObject };
readonly nodeBody: Node;
readonly nodeBody: Phaser.GameObjects.GameObject;

addTree(): Tree;

Expand Down
2 changes: 1 addition & 1 deletion templates/ui/trees/tree/node/Node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare class Node extends Sizer {
readonly isTree: false;
readonly isNode: true;

readonly nodeBody: Node;
readonly nodeBody: Phaser.GameObjects.GameObject;

getTreePatent(): Tree;
getTreeRoot(): Tree;
Expand Down

0 comments on commit 73e95f3

Please sign in to comment.