| 1 | declare interface GlobalAPI { |
| 2 | cid: number; |
| 3 | options: Object; |
| 4 | config: Config; |
| 5 | util: Object; |
| 6 | |
| 7 | extend: (options: Object) => Function; |
| 8 | set: <T>(target: Object | Array<T>, key: string | number, value: T) => T; |
| 9 | delete: <T>(target: Object| Array<T>, key: string | number) => void; |
| 10 | nextTick: (fn: Function, context?: Object) => void | Promise<*>; |
| 11 | use: (plugin: Function | Object) => void; |
| 12 | mixin: (mixin: Object) => void; |
| 13 | compile: (template: string) => { render: Function, staticRenderFns: Array<Function> }; |
| 14 | |
| 15 | directive: (id: string, def?: Function | Object) => Function | Object | void; |
| 16 | component: (id: string, def?: Class<Component> | Object) => Class<Component>; |
| 17 | filter: (id: string, def?: Function) => Function | void; |
| 18 | |
| 19 | // allow dynamic method registration |
| 20 | [key: string]: any |
| 21 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected