Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support optional chaining #43

Closed
Conduitry opened this issue Jun 11, 2020 · 0 comments · Fixed by #45
Closed

Support optional chaining #43

Conduitry opened this issue Jun 11, 2020 · 0 comments · Fixed by #45

Comments

@Conduitry
Copy link
Collaborator

In order to support optional chaining in Svelte, we need to support it here and in periscopic first.

The PR estree/estree#204 has not been merged yet but the spec apparently is final. Roughly, there's a new ChainExpression type that only has an expression key, and it's this expression that contains the chain of member and call expressions with a new optional boolean on each one.

Before this can be done properly, we might need to wait for @types/estree to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant