-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathinternal.d.ts
More file actions
41 lines (37 loc) · 909 Bytes
/
internal.d.ts
File metadata and controls
41 lines (37 loc) · 909 Bytes
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
41
declare module 'SERVER' {
export { Server } from '@sveltejs/kit';
}
declare module 'MANIFEST' {
import { SSRManifest } from '@sveltejs/kit';
export const manifest: SSRManifest;
export const prerendered: Set<string>;
export const app_path: string;
export const base_path: string;
}
type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> & Required<Pick<T, K>>;
/**
* We use a custom `Builder` type here to ensure compatibility with the minimum version of SvelteKit.
*/
type Builder2_0_0 = PartialExcept<
import('@sveltejs/kit').Builder,
| 'log'
| 'rimraf'
| 'mkdirp'
| 'config'
| 'prerendered'
| 'routes'
| 'createEntries'
| 'generateFallback'
| 'generateEnvModule'
| 'generateManifest'
| 'getBuildDirectory'
| 'getClientDirectory'
| 'getServerDirectory'
| 'getAppPath'
| 'writeClient'
| 'writePrerendered'
| 'writePrerendered'
| 'writeServer'
| 'copy'
| 'compress'
>;