try {
  module.exports = require("./build/Release/tree_sitter_typescript_binding");
} catch (error) {
  try {
    module.exports = require("./build/Debug/tree_sitter_typescript_binding");
  } catch (_) {
    throw error
  }
}

try {
  module.exports.nodeTypeInfo = require("./src/node-types.json");
} catch (_) {}

try {
  module.exports = require("../build/Release/tree_sitter_typescript_binding");
} catch (error) {
  try {
    module.exports = require("../build/Debug/tree_sitter_typescript_binding");
  } catch (_) {
    throw error;
  }
}

try {
  module.exports.nodeTypeInfo = require("./src/node-types.json");
} catch (_) {}

Fix native require paths in TypeScript grammar
Fix native require paths in TypeScript grammar
