Skip to content

:ref notation problem #473

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

Closed
rtabulov opened this issue Sep 9, 2021 · 0 comments
Closed

:ref notation problem #473

rtabulov opened this issue Sep 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@rtabulov
Copy link

rtabulov commented Sep 9, 2021

when using template refs like this :ref="(el) => (someref = el)" ts extension throws an error Parameter 'el' implicitly has an 'any' type. ts(7006), but vue does not support ts typings in templates, so this error should not occur.

i have reproduced this in a repo based on volar-starter, where i only edited App.vue, which you can check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants