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

Importing JSON files with destructuring syntax, gives linting error in .vue files #1125

Closed
3 tasks done
wahidrahim opened this issue Feb 27, 2019 · 1 comment
Closed
3 tasks done
Milestone

Comments

@wahidrahim
Copy link

wahidrahim commented Feb 27, 2019

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

Info

  • Platform: Linux - Ubuntu 18.04
  • Vetur version: 0.16.2
  • VS Code version: 1.31.1

Problem

Error in .vue file
screenshot from 2019-02-27 14-34-34

No error in .ts file
screenshot from 2019-02-27 14-38-02

Reproducible Case

https://github.com/wahidrahim/vetur-json-destructuring-bug

@octref
Copy link
Member

octref commented Mar 21, 2019

Seems resolved as of using TS 3.3 (#682).
Try "vetur.useWorkspaceDependencies": true.

@octref octref closed this as completed Mar 21, 2019
@octref octref added this to the March 2019 milestone Mar 21, 2019
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