diff --git a/lib/binding_web/binding.js b/lib/binding_web/binding.js index 61d0a92f..96f6ef08 100644 --- a/lib/binding_web/binding.js +++ b/lib/binding_web/binding.js @@ -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() { diff --git a/script/serve-docs b/script/serve-docs index 2e9b258e..9639016e 100755 --- a/script/serve-docs +++ b/script/serve-docs @@ -10,6 +10,7 @@ bundle exec ruby <