-
Notifications
You must be signed in to change notification settings - Fork 0
/
client.d.ts
40 lines (33 loc) · 995 Bytes
/
client.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
declare module '*?renderer' {
type Content = NonNullable<import('./dist/index').Content>
const render: (component: any) => Content | PromiseLike<Content>
export default render
}
declare module '*?render' {
const content: PromiseLike<import('./dist/index').Content>
export default content
}
declare module '*?doctype' {
const content: PromiseLike<import('./dist/index').Content>
export default content
}
declare module '*?client' {
const data: Record<string, import('./dist/index').Json>
export default data
}
declare module '*?hydrate' {
const component: any
export default component
}
declare module '*?hydrate&render' {
const content: PromiseLike<import('./dist/index').Content>
export default content
}
declare module '*?render&doctype' {
const content: PromiseLike<import('./dist/index').Content>
export default content
}
declare module '*?hydrate&render&doctype' {
const content: PromiseLike<import('./dist/index').Content>
export default content
}