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