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

vue2: no error will be reported with nonexistent data.Type is unknown #1350

Closed
hexf00 opened this issue May 25, 2022 · 1 comment
Closed
Labels

Comments

@hexf00
Copy link

hexf00 commented May 25, 2022

Snipaste_2022-05-26_00-59-22

I use https://github.com/johnsoncodehk/volar-starter vue2 branch.

I propose this issue because the Class API or Vue.extend performs better.

I don't understand how this difference is caused.

ts version:4.6.3 / 4.5.5
vscode version: 1.67.2
volar version: v0.34.16

Volar is doing very nice. I like volar. Thank you for your efforts and hope it can be better.

p.s I have been experiencing 5-minute crashes mentioned by other issues. I always restart vscode. I hope I can help you with this problem, but I don't know what I should do?

Snipaste_2022-05-26_01-07-37

@johnsoncodehk
Copy link
Member

This is @vue/composition-api behavior from https://github.com/vuejs/composition-api/blob/032f2c75992043a02a61e05d5f1493d78738ae72/src/component/common.ts#L1.

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

No branches or pull requests

2 participants