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

how to get type checking from this #1983

Closed
zWingz opened this issue Jun 12, 2020 · 8 comments
Closed

how to get type checking from this #1983

zWingz opened this issue Jun 12, 2020 · 8 comments

Comments

@zWingz
Copy link

zWingz commented Jun 12, 2020

image

can i get the type checking () => void from this.test ?

image

and snippet for this.test1 with type string

Info

  • Platform: macOS
  • Vetur version: 0.24.0
  • VS Code version: latest
@yoyo930021
Copy link
Member

If you open for project and only one project?

@zWingz
Copy link
Author

zWingz commented Jun 13, 2020

@yoyo930021 only one project

@yoyo930021
Copy link
Member

Maybe #1509.

@zWingz
Copy link
Author

zWingz commented Jun 13, 2020

i try to clone veturpack, and it work.
but i not work if add props
image
image

@zWingz
Copy link
Author

zWingz commented Jun 13, 2020

and i copy my demo to veturpack, it work...
image

@yoyo930021
Copy link
Member

Duplicate #1509
It's a upstream problem when computed return this and have props.

@zWingz
Copy link
Author

zWingz commented Jun 13, 2020

but why the same file contents is diff in two project

@yoyo930021
Copy link
Member

The #1509 is talk about this.
Typescript version will effect.

@zWingz zWingz closed this as completed Jun 15, 2020
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