1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| declare type $npm$Vue$Dictionaly<T> = { [key: string]: T }
|
| declare type Util = {
| extend: (to: Object, from: ?Object) => Object,
| hasOwn: (obj: Object, key: string) => boolean,
| isPlainObject: (obj: any) => boolean,
| isObject: (obj: mixed) => boolean,
| }
|
| declare type Config = {
| optionMergeStrategies: $npm$Vue$Dictionaly<Function>,
| silent: boolean,
| productionTip: boolean,
| performance: boolean,
| devtools: boolean,
| errorHandler: ?(err: Error, vm: Vue, info: string) => void,
| ignoredElements: Array<string>,
| keyCodes: $npm$Vue$Dictionaly<number>,
| isReservedTag: (x?: string) => boolean,
| parsePlatformTagName: (x: string) => string,
| isUnknownElement: (x?: string) => boolean,
| getTagNamespace: (x?: string) => string | void,
| mustUseProp: (tag: string, type: ?string, name: string) => boolean,
| }
|
| declare interface Vue {
| static config: Config,
| static util: Util,
| static version: string,
| }
|
|