@slidev/types 0.48.0-beta.10 → 0.48.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.ts +51 -3
- package/package.json +1 -1
package/client.d.ts
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// Types for virtual modules
|
|
2
|
+
// `#slidev/*` is an alias for `/@slidev/*`, because TS will consider `/@slidev/*` as an absolute path that we can't override
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
declare module '#slidev/configs' {
|
|
5
|
+
import type { SlidevConfig } from '@slidev/types'
|
|
6
|
+
|
|
7
|
+
const configs: SlidevConfig
|
|
8
|
+
export default configs
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module '#slidev/global-components/top' {
|
|
12
|
+
import type { ComponentOptions } from 'vue'
|
|
13
|
+
|
|
14
|
+
const component: ComponentOptions
|
|
15
|
+
export default component
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare module '#slidev/global-components/bottom' {
|
|
19
|
+
import type { ComponentOptions } from 'vue'
|
|
20
|
+
|
|
21
|
+
const component: ComponentOptions
|
|
22
|
+
export default component
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare module '#slidev/routes' {
|
|
26
|
+
import type { RouteRecordRaw } from 'vue-router'
|
|
27
|
+
|
|
28
|
+
const rawRoutes: RouteRecordRaw[]
|
|
29
|
+
const redirects: RouteRecordRaw[]
|
|
30
|
+
export { rawRoutes, redirects }
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare module '@slidev/titles.md' {
|
|
34
|
+
import type { ComponentOptions } from 'vue'
|
|
35
|
+
|
|
36
|
+
const component: ComponentOptions
|
|
37
|
+
export default component
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare module '#slidev/custom-nav-controls' {
|
|
41
|
+
import type { ComponentOptions } from 'vue'
|
|
42
|
+
|
|
43
|
+
const component: ComponentOptions
|
|
44
|
+
export default component
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare module '#slidev/styles' {
|
|
48
|
+
// side-effects only
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare module '#slidev/monaco-types' {
|
|
52
|
+
// side-effects only
|
|
5
53
|
}
|