1 | declare const __DEV__: boolean
|
2 | declare const __TEST__: boolean
|
3 | declare const __GLOBAL__: boolean
|
4 |
|
5 | interface Window {
|
6 | __VUE_DEVTOOLS_GLOBAL_HOOK__: DevtoolsHook
|
7 | }
|
8 |
|
9 | // from https://github.com/vuejs/vue-devtools/blob/bc719c95a744614f5c3693460b64dc21dfa339a8/packages/app-backend-api/src/global-hook.ts#L3
|
10 | interface DevtoolsHook {
|
11 | emit: (event: string, ...payload: any[]) => void
|
12 | on: (event: string, handler: Function) => void
|
13 | once: (event: string, handler: Function) => void
|
14 | off: (event?: string, handler?: Function) => void
|
15 | Vue?: any
|
16 | // apps: AppRecordOptions[]
|
17 | }
|