Parser does not support @babel/plugin-proposal-optional-chaining #136
Labels
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
package: parser
Issues related to @typescript-eslint/parser
triage
Waiting for team members to take a look
When using proposal-optional-chaining with babel, the typescript-eslint parser can not resolve the code. It throws the following error: "Parsing error: Expression expected"
err?.errors?.length
This parses correctly with babel-eslint parser.
More generally, is the plan to support all of the babel proposal plugins within typescript-eslint? Now that babel has first class support for typescript, using the 2 in conjunction will be a very common use case.
@typescript-eslint/parser
TypeScript
ESLint
node
npm
The text was updated successfully, but these errors were encountered: