返回 slidev
shim.d.ts
根目录 / shim.d.ts
1 export {}
2 declare global {
3 const __DEV__: boolean
4 const __SLIDEV_HASH_ROUTE__: boolean
5 const __SLIDEV_MEMORY_ROUTE__: boolean
6 const __SLIDEV_CLIENT_ROOT__: string
7 const __SLIDEV_FEATURE_DRAWINGS__: boolean
8 const __SLIDEV_FEATURE_DRAWINGS_PERSIST__: boolean
9 const __SLIDEV_FEATURE_EDITOR__: boolean
10 const __SLIDEV_FEATURE_RECORD__: boolean
11 const __SLIDEV_FEATURE_PRESENTER__: boolean
12 const __SLIDEV_FEATURE_PRINT__: boolean
13 const __SLIDEV_FEATURE_BROWSER_EXPORTER__: boolean
14 const __SLIDEV_FEATURE_WAKE_LOCK__: boolean
15 const __SLIDEV_FEATURE_PWA__: boolean
16 const __SLIDEV_HAS_SERVER__: boolean
17 }
18
19 declare module '@vue/runtime-core' {
20 interface ComponentCustomProperties {
21 __DEV__: boolean
22 __SLIDEV_HASH_ROUTE__: boolean
23 __SLIDEV_MEMORY_ROUTE__: boolean
24 __SLIDEV_CLIENT_ROOT__: string
25 __SLIDEV_FEATURE_DRAWINGS__: boolean
26 __SLIDEV_FEATURE_DRAWINGS_PERSIST__: boolean
27 __SLIDEV_FEATURE_EDITOR__: boolean
28 __SLIDEV_FEATURE_RECORD__: boolean
29 __SLIDEV_FEATURE_PRESENTER__: boolean
30 __SLIDEV_FEATURE_PRINT__: boolean
31 __SLIDEV_FEATURE_BROWSER_EXPORTER__: boolean
32 __SLIDEV_FEATURE_WAKE_LOCK__: boolean
33 __SLIDEV_FEATURE_PWA__: boolean
34 __SLIDEV_HAS_SERVER__: boolean
35 }
36 }
37
37 lines TYPESCRIPT