tree-sitter-typescript
tree-sitter-typescript copied to clipboard
Unclear how to use `import_require_clause`
The following piece of code:
require('y')
... is valid but it is parsed into:
(call_expression function: (identifier) arguments: (arguments (string (string_fragment))))
Based on reading the definition of import_require_clause, it's unclear what matches import_require_clause.
likely:
import x = require("x")