-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TS parsing bug when seeing a generics-like expression (#438)
Fixes #408 If we see `a<b>`, we were already looking at the next token to see if it's an open-paren (meaning this is a function call with a type argument) or a backtick (meaning this is a tagged template literal with a type argument), but we weren't properly bailing out if it was neither of those, which put the parser in a bad state.
- Loading branch information
1 parent
ce7c020
commit 36b9d76
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters