Skip to content

Commit b8a2ee5

Browse files
semenyukdmitryyyx990803
authored andcommitted
Set default value for ignoredElements to []. (vuejs#4518)
(as https://vuejs.org/v2/api/#ignoredElements puts it)
1 parent 831a9ee commit b8a2ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type Config = {
88
silent: boolean;
99
devtools: boolean;
1010
errorHandler: ?Function;
11-
ignoredElements: ?Array<string>;
11+
ignoredElements: Array<string>;
1212
keyCodes: { [key: string]: number };
1313
// platform
1414
isReservedTag: (x?: string) => boolean;
@@ -46,7 +46,7 @@ const config: Config = {
4646
/**
4747
* Ignore certain custom elements
4848
*/
49-
ignoredElements: null,
49+
ignoredElements: [],
5050

5151
/**
5252
* Custom user key aliases for v-on

0 commit comments

Comments
 (0)