-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathinternal.d.ts
More file actions
30 lines (29 loc) · 682 Bytes
/
internal.d.ts
File metadata and controls
30 lines (29 loc) · 682 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
/**
* Utility type that makes all properties optional except for the specified keys
*/
export type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> & Required<Pick<T, K>>;
/**
* We use a custom `Builder` type here to support the minimum version of SvelteKit.
*/
export 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'
| 'writeServer'
| 'copy'
| 'compress'
>;