Skip to content

Fix scriptKind in query#93

Open
wongchichong wants to merge 13 commits intophenomnomnominal:masterfrom
wongchichong:master
Open

Fix scriptKind in query#93
wongchichong wants to merge 13 commits intophenomnomnominal:masterfrom
wongchichong:master

Conversation

@wongchichong
Copy link
Copy Markdown

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.

@phenomnomnominal
Copy link
Copy Markdown
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants