wasm: Fix typo in Node.typeId
This commit is contained in:
parent
8addcf7604
commit
96c060fc6d
2 changed files with 2 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ class Node {
|
|||
|
||||
get typeId() {
|
||||
marshalNode(this);
|
||||
return C._ts_node_symbol_wasm(this.tree);
|
||||
return C._ts_node_symbol_wasm(this.tree[0]);
|
||||
}
|
||||
|
||||
get type() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue