We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a15a8d commit 8645e5fCopy full SHA for 8645e5f
src/core/util/options.js
@@ -286,7 +286,7 @@ function normalizeProps (options: Object, vm: ?Component) {
286
? val
287
: { type: val }
288
}
289
- } else if (process.env.NODE_ENV !== 'production' && props) {
+ } else if (process.env.NODE_ENV !== 'production') {
290
warn(
291
`Invalid value for option "props": expected an Array or an Object, ` +
292
`but got ${toRawType(props)}.`,
0 commit comments