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

template type missing #4840

Closed
zhangenming opened this issue Sep 11, 2024 · 7 comments
Closed

template type missing #4840

zhangenming opened this issue Sep 11, 2024 · 7 comments
Labels
duplicate This issue or pull request already exists

Comments

@zhangenming
Copy link

zhangenming commented Sep 11, 2024

Vue - Official extension or vue-tsc version

lastest

VSCode version

lastest

Vue version

lastest

TypeScript version

lastest

System Info

No response

package.json dependencies

No response

Steps to reproduce

https://play.vuejs.org/#eNp9UsFOwzAM/RWTy0DausM4oKobArQDHGACjpFQab3SLU2yJG03Vf133FTdJoF2s/2enfccN+xB66AqkYUssonJtQMRy2zOmbOcgUVX6gWXiZLWgTZKW5hDiutc4qrLooZLgN1udx+CdSaXGZft4vqGy6GprmtqGSHiiMto2j9CIylxWGgRO6QMIErzygcATdNNhLbt0+hqMvEFd9AIdS4EfCPE8gCTyanDiwv+9KntwIqm/Qs+tkI5CGVcIFklieR1Slg0PdPExrQEMrHOs2BjlaQdebecJarQuUDzpl1OJjkLwSMdFguh6hdfc6bE8VBPfjDZ/lPf2H1X42xl0KKpkLMj5mKToevh5ccr7ik+goVKS0HsC+A7WiXKTmNPeyxlSrLPeF7tc6GVcfR3n3a5dyjtYKoT2jFbz+eMDuXpgvWT3Flw6/voGGiLXxWabiYtkIBgdsfaX/XCzVU=

What is expected?

qqq type will be ?string

What is actually happening?

qqq type will be any

Link to minimal reproduction

No response

Any additional comments?

No response

@KazariEX
Copy link
Collaborator

image

@KazariEX
Copy link
Collaborator

KazariEX commented Sep 11, 2024

Could you confirm that your Vue - Official version is 2.1.6?

@zhangenming
Copy link
Author

image

@zhangenming
Copy link
Author

image
image

@KazariEX
Copy link
Collaborator

我无法复现这个问题,你可以尝试制作一个最小复现来检查问题是否依然存在

@Arinono
Copy link

Arinono commented Sep 11, 2024

I can get the playground link to show the error described by changing compilation options to target 3.5:
image
image

@KazariEX
Copy link
Collaborator

Duplicate of #4704

@KazariEX KazariEX marked this as a duplicate of #4704 Sep 11, 2024
@KazariEX KazariEX closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2024
@KazariEX KazariEX added duplicate This issue or pull request already exists and removed need info labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants