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
Incorrect type narrowing in closures #4293
Comments
I can't reproduce this issue on my machine, could you please provide a full repro repository? |
@so1ve You can check the vue playground link. I will try to make a repo with reproduction today |
I already checked that, and indeed the type is incorrect. But I cannot debug on the playground :( |
The type is still incorrect after I disabled the Vue extension 🤔 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The type narrowing seems to be incorrect. In this example it should be the same type as the variable originally has, but for some reason it has
null
. (I have the latest version lsp extension and the latest version of vscode installed)A bit different, but still incorrect reproduction in playground
The text was updated successfully, but these errors were encountered: