tsquery icon indicating copy to clipboard operation
tsquery copied to clipboard

Fix scriptKind in query

Open wongchichong opened this issue 2 years ago • 1 comments
trafficstars

This pull only involve source code, with .vscode settings trying to fix the spaces (which fail, LOL). Reverting package.json & tsconfig.json.

This patch fix query's ast param without filename. Without scriptKind, parsing tsx source without filename will read as ts source by typescript parser.

wongchichong avatar Jul 06 '23 02:07 wongchichong

Think I covered this in the changes in v6, would you check it out and let me know?

phenomnomnominal avatar Jul 11 '23 22:07 phenomnomnominal