-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinghas prthere is a PR raised to close thisthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree
Description
prettier/prettier#6657 is blocked by this issue.
What code were you trying to parse?
(a?.b).c
What did you expect to happen?
The outer node should be of type MemberExpresion
, not OptionalMemberExpression
.
What actually happened?
Both member expressions are OptionalMemberExpression
as if the parens weren't there (a?.b.c
).
Versions
package | version |
---|---|
@typescript-eslint/typescript-estree |
2.5.1-alpha.3 |
TypeScript |
3.7.0-rc |
node |
10.15.0 |
npm |
6.11.3 |
jackkoppa and tills13jackkoppa
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghas prthere is a PR raised to close thisthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree