-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
area: typescriptclaimedoutdatedA 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
Bug Report
Current Behavior
SyntaxError: Unexpected type cast in parameter position
Input Code
[x as Foo] = arrExpected behavior/code
no error
Babel Configuration (.babelrc, package.json, cli command)
@babel/parser with typescript plugin
Environment
- Babel version(s): 7.4.5
- Node/npm version: Node 11.13 / npm 6.7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: typescriptclaimedoutdatedA 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