-
Notifications
You must be signed in to change notification settings - Fork 342
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
watch should type old value as possibly undefined #253
Comments
On the first run, the old value is undefined, so the error makes sense. |
@posva do I get it right, that more or less the same fixes as you mentioned for vue-next have to be applied to the corresponding files here? I would like to work on this. Let me know if this is still ready to take :) |
@cnschwarz This is still up! I believe the fix is indeed very similar to the fix on vue-next |
@posva awesome, that is what I thought. I started with some of the changes yesterday. I will reach out if I have specific questions :) |
Can you check if this is still a problem on |
Closing this for now. If you still facing the issue, feel free to reopen it. |
Docs: https://vue-composition-api-rfc.netlify.com/api.html#watch (Watching Multiple Sources)
Test:
Result
Test:
Result:
Array[0, 0], undefined
The text was updated successfully, but these errors were encountered: