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
$ref
3.2.40
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzlApgMzgXzmqERwDkAbgK4qECwAUKJLInACSoba75FkoD0IAhgGM8AZyrUaPHnAB20AQBtk6GoIgyR8NBAhwAvMrQAeTVGAyA5gD4AFAEpJ0uM7iAwakDwf3ABK6EzDOWcAA+cKQyACbo5ijhVjSq6iIQCigAdAoQFjbaEKnE-ArkqTAQAMr+5ll2DtRSLvX1Hs4A8gBGAFYogvDAInCQIiLArQoAnkRhkWjR4YSpNgBMAKwAzAs18bXSqEIwwMTAMOP+-BraUCAJGvCt-FD6zKx+Adb2jg1NPrv7KABqd8B+CMUM9KlY4ABacGbNQaZJpDJZW5QYplCqWew1OoND6eQAy5M4AHK6FBQPBQEQAGjgrVINzucF6oQiURkMTgp3CcAA7sAFEoUCBDhyZHBSeTGaKoGE9iAUO8cfUAKIADzAXXgpzFZOgAC44G1Ot1GX0BkMRuNCJNWTE5otVusaEA
Open the reproduction
const bar = $ref<string>() bar is ReactiveVariable<string> | undefined
const bar = $ref<string>()
bar
ReactiveVariable<string> | undefined
const bar = $ref<string>() bar is ReactiveVariable<string>
ReactiveVariable<string>
N/A
No response
The text was updated successfully, but these errors were encountered:
fix(reactivity-transform): typing without initial value
0441043
closes vuejs#6820
c63d6ff
f06c16d
fix(types/reactivity-transform): fix type when initial value is not u…
fdc5902
…sed (#6821) fix #6820
6c484e7
…sed (vuejs#6821) fix vuejs#6820
Successfully merging a pull request may close this issue.
Vue version
3.2.40
Link to minimal reproduction
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzlApgMzgXzmqERwDkAbgK4qECwAUKJLInACSoba75FkoD0IAhgGM8AZyrUaPHnAB20AQBtk6GoIgyR8NBAhwAvMrQAeTVGAyA5gD4AFAEpJ0uM7iAwakDwf3ABK6EzDOWcAA+cKQyACbo5ijhVjSq6iIQCigAdAoQFjbaEKnE-ArkqTAQAMr+5ll2DtRSLvX1Hs4A8gBGAFYogvDAInCQIiLArQoAnkRhkWjR4YSpNgBMAKwAzAs18bXSqEIwwMTAMOP+-BraUCAJGvCt-FD6zKx+Adb2jg1NPrv7KABqd8B+CMUM9KlY4ABacGbNQaZJpDJZW5QYplCqWew1OoND6eQAy5M4AHK6FBQPBQEQAGjgrVINzucF6oQiURkMTgp3CcAA7sAFEoUCBDhyZHBSeTGaKoGE9iAUO8cfUAKIADzAXXgpzFZOgAC44G1Ot1GX0BkMRuNCJNWTE5otVusaEA
Steps to reproduce
Open the reproduction
What is expected?
const bar = $ref<string>()
bar
isReactiveVariable<string> | undefined
What is actually happening?
const bar = $ref<string>()
bar
isReactiveVariable<string>
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: