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

TypeScript 3.7 features interpreted as errors #1498

Closed
3 tasks done
NicoAiko opened this issue Nov 11, 2019 · 1 comment
Closed
3 tasks done

TypeScript 3.7 features interpreted as errors #1498

NicoAiko opened this issue Nov 11, 2019 · 1 comment

Comments

@NicoAiko
Copy link

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS Catalina
  • Vetur version: 0.22.6
  • VS Code version: 1.40.0

Problem

TypeScript v3.7 introduced some new features, like optional chaining and nullish coalesce.
These changes produce errors for Vetur though.

Bildschirmfoto 2019-11-11 um 15 09 09

Reproducible Case

Just create a .vue file with its script being typescript (obviously on v3.7+) and create a function that uses the new features.

@ktsn
Copy link
Member

ktsn commented Nov 11, 2019

Enable Vetur: Use Workspace Dependencies to let Vetur use 3.7. See #1438 (comment)

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

No branches or pull requests

2 participants