@@ -7,6 +7,7 @@ title: @sveltejs/kit
7
7
``` js
8
8
// @noErrors
9
9
import {
10
+ Server ,
10
11
VERSION ,
11
12
error ,
12
13
fail ,
@@ -19,6 +20,43 @@ import {
19
20
} from ' @sveltejs/kit' ;
20
21
```
21
22
23
+ ## Server
24
+
25
+ <div class =" ts-block " >
26
+
27
+ ``` dts
28
+ class Server {/*…*/}
29
+ ```
30
+
31
+ <div class =" ts-block-property " >
32
+
33
+ ``` dts
34
+ constructor(manifest: SSRManifest);
35
+ ```
36
+
37
+ <div class =" ts-block-property-details " ></div >
38
+ </div >
39
+
40
+ <div class =" ts-block-property " >
41
+
42
+ ``` dts
43
+ init(options: ServerInitOptions): Promise<void>;
44
+ ```
45
+
46
+ <div class =" ts-block-property-details " ></div >
47
+ </div >
48
+
49
+ <div class =" ts-block-property " >
50
+
51
+ ``` dts
52
+ respond(request: Request, options: RequestOptions): Promise<Response>;
53
+ ```
54
+
55
+ <div class =" ts-block-property-details " ></div >
56
+ </div ></div >
57
+
58
+
59
+
22
60
## VERSION
23
61
24
62
<div class =" ts-block " >
@@ -94,7 +132,9 @@ Checks whether this is an action failure thrown by `fail`.
94
132
<div class =" ts-block " >
95
133
96
134
``` dts
97
- function isActionFailure(e: unknown): e is ActionFailure;
135
+ function isActionFailure(
136
+ e: unknown
137
+ ): e is ActionFailure<undefined>;
98
138
```
99
139
100
140
</div >
@@ -2303,41 +2343,6 @@ A `[file]: size` map of all assets imported by server code
2303
2343
</div >
2304
2344
</div ></div >
2305
2345
2306
- ## Server
2307
-
2308
- <div class =" ts-block " >
2309
-
2310
- ``` dts
2311
- class Server {/*…*/}
2312
- ```
2313
-
2314
- <div class =" ts-block-property " >
2315
-
2316
- ``` dts
2317
- constructor(manifest: SSRManifest);
2318
- ```
2319
-
2320
- <div class =" ts-block-property-details " ></div >
2321
- </div >
2322
-
2323
- <div class =" ts-block-property " >
2324
-
2325
- ``` dts
2326
- init(options: ServerInitOptions): Promise<void>;
2327
- ```
2328
-
2329
- <div class =" ts-block-property-details " ></div >
2330
- </div >
2331
-
2332
- <div class =" ts-block-property " >
2333
-
2334
- ``` dts
2335
- respond(request: Request, options: RequestOptions): Promise<Response>;
2336
- ```
2337
-
2338
- <div class =" ts-block-property-details " ></div >
2339
- </div ></div >
2340
-
2341
2346
## ServerInitOptions
2342
2347
2343
2348
<div class =" ts-block " >
0 commit comments