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

Optional chaining operator #885

Closed
lucasfeliciano opened this issue Jul 29, 2019 · 7 comments
Closed

Optional chaining operator #885

lucasfeliciano opened this issue Jul 29, 2019 · 7 comments
Labels
locked Please open a new issue and fill out the template instead of commenting.

Comments

@lucasfeliciano
Copy link

lucasfeliciano commented Jul 29, 2019

Optional chaining operator moved to stage 3 https://github.com/tc39/proposal-optional-chaining

prettier already has support for it but on vscode still complains

image

Is this feature implemented on prettier-vscode? If yes how do I enable it?

I already setup my babel and eslint config.
And if I run eslint or prettier binary the test passes, but on vscode it shows the error

@ntotten
Copy link
Member

ntotten commented Aug 12, 2019

This is an issue with VS Code itself, not this extension. It is tracked here: microsoft/TypeScript#16

@ntotten ntotten closed this as completed Aug 12, 2019
@VimLeSai
Copy link

when it will get resolved any ideas or any other options to fix this ?

@twoperkg
Copy link

twoperkg commented Nov 6, 2019

While it is not implemented vscode U can install the extension JavaScript and TypeScript Nightly
Now I can use typescript 3.7 features in vscode

@jtswartz
Copy link

jtswartz commented Nov 7, 2019

While it is not implemented vscode U can install the extension JavaScript and TypeScript Nightly
Now I can use typescript 3.7 features in vscode

After trying to set "typescript.validate.enable": false, in config, your solution worked for my team. Cheers @twoperkg

@ntotten
Copy link
Member

ntotten commented Nov 13, 2019

As an update, Prettier and this extension does support this now. It will depend on VS Code though.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the locked Please open a new issue and fill out the template instead of commenting. label Apr 12, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

5 participants