Skip to content

Conversation

plievone
Copy link
Contributor

watch callback gives oldValue as the second parameter.
It may also be undefined in case {immediate: true} is used, but typing it optional could be inconvenient for most common uses.

watch callback gives `oldValue` as the second parameter.
It may also be `undefined` in case `{immediate: true}` is used, but typing it optional could be inconvenient for most common uses.
@ktsn
Copy link
Member

ktsn commented Nov 29, 2016

I think it would be a reasonable. Thanks.

@ktsn ktsn merged commit 3baa6b0 into vuejs:dev Nov 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants