Open
Description
Did you check existing issues?
- I have read all the tree-sitter docs if it relates to using the parser
- I have searched the existing issues of tree-sitter-typescript
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version
)
No response
Describe the bug
downstream: ast-grep/ast-grep#1458
Steps To Reproduce/Bad Parse Tree
type is an export specifier but isn't recognized.
export type { type } from './Button';
export { type } from './Button';
Repro
type
is a variable exported by the Button
// ./Button.ts
export const type = 1;