GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — Use TSX parser instead of Typescript parser for JavaScript and JSX by maxbrunsfeld · Pull Request #229 · github/semantic
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Conversation
|
|
Is there any testing that should be added for this? Previously, we would have gotten parse errors on any |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Let's do something like this, but with a |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Also, add a unit test for JSX in JavaScript. Co-Authored-By: Rick Winfrey <[email protected]>
|
While we were here, @rewinfrey and I also added some limited support for Type arguments in TSX (microsoft/TypeScript#22415). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| (JsxElement | ||
| (JsxOpeningElement | ||
| (Identifier) | ||
| (Empty) |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
JsxOpeningElement terms now have an optional TypeArguments child. We based this off the way that type arguments are handled in the New node.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Can we do a manually run of the parse-examples target (we use to do this in CI, but travis can't quiet keep up with the workload)?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.