Closed ZorGleH closed 11 years ago
I'm not sure.
It happened to me to forget declaring the initial value or to declare it under the wrong key. And in this case, I am pretty happy to see the error triggered.
Finally, this is an error only in strict
mode - and that makes sense, I think.
Why not assume initial value missing is null when
type: '?x'
? It could avoid writing explicitlyvalue: null
.