wasm: Fix typo in Node.typeId

This commit is contained in:
Max Brunsfeld 2020-02-21 17:05:46 -08:00
parent 8addcf7604
commit 96c060fc6d
2 changed files with 2 additions and 1 deletions

View file

@ -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() {