// v.1
watch: {
numbers: {
handler(val, oldVal) {
// some code
},
deep: true
}
}
// v.2
watch: {
numbers: function (val): {
// some code
}
}
watch: {
numbers: {
handler: function(val, oldVal) {
// some code
},
deep: true
}
}