We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.2.8
github.com
from vscode, ctrl + space at a and b variable to see how it explains type.
ref surgar $ref | $computed should be reference correct type checking in case type is object
correct if : $ref<null | boolean> --> refValue<null | boolean> failed if $ref<null | { ok: boolean }> --> refValue<{ ok : boolean }>
$ref<null | boolean>
refValue<null | boolean>
$ref<null | { ok: boolean }>
refValue<{ ok : boolean }>
correct variable a with primative
incorrect variable b with object
The text was updated successfully, but these errors were encountered:
already fixed via 815bfcf, not release yet.
Sorry, something went wrong.
duplicate of #4499
No branches or pull requests
Version
3.2.8
Reproduction link
github.com
Steps to reproduce
from vscode, ctrl + space at a and b variable to see how it explains type.
What is expected?
ref surgar $ref | $computed should be reference correct type checking in case type is object
What is actually happening?
correct if :
$ref<null | boolean>
-->refValue<null | boolean>
failed if
$ref<null | { ok: boolean }>
-->refValue<{ ok : boolean }>
correct variable a with primative
![image](https://user-images.githubusercontent.com/12226007/132112594-90752aed-7735-4ab7-b1bf-b332eabdc03a.png)
incorrect variable b with object
![image](https://user-images.githubusercontent.com/12226007/132112600-9af8be4a-feae-4864-afe4-f1391879e272.png)
The text was updated successfully, but these errors were encountered: