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 — Throw syntax error for `}` and `>` in JSX text by bradzacher · Pull Request #36636 · microsoft/TypeScript Conversation
Contributor
Fixes #36341 This is my first PR for typescript, so please LMK if there's a better way to do this.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
This is great, I don't have any code recommendations (given the simplicity of the implementation) and the tests look good. I went to check babels implementation details only to find my way back to the linked issue. My only question is do you want to add a codefix for these too? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yeah sorry, I raised issues in acorn, babel and typescript together (and PR'd it into babel) 😄
Sure, I'd love to! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yes, it is the right place (: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Took me a minute to figure everything out, but I got there in the end. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This looks perfect, thanks Brad Zacher (@bradzacher) 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Nice one, immediately caught an error in a DT test case 👌 |
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.
Proposal: throw syntax error for} and > in JSX text.
There was an error while loading. Please reload this page.