-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
area: typescriptoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: parser
Description
💻
- Would you like to work on a fix?
How are you using Babel?
@babel/register or @babel/node
Input code
apply?.('foo') // Works
apply<string>('foo') // Works
apply?.<string>('foo') // Failed to parse, but syntax is valid
// Check the ts playground https://www.typescriptlang.org/play?#code/IYBxBsE8H4DoB4DOAXATgSwHYHMB8AKAcgDMB7UwgSiAConfiguration file name
No response
Configuration
See the REPL link below
Current and expected behavior
Parse without error
Environment
Possible solution
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: typescriptoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: parser