@@ -7,6 +7,7 @@ title: @sveltejs/kit
77``` js
88// @noErrors
99import {
10+ Server ,
1011 VERSION ,
1112 error ,
1213 fail ,
@@ -19,6 +20,43 @@ import {
1920} from ' @sveltejs/kit' ;
2021```
2122
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+
2260## VERSION
2361
2462<div class =" ts-block " >
@@ -94,7 +132,9 @@ Checks whether this is an action failure thrown by `fail`.
94132<div class =" ts-block " >
95133
96134``` dts
97- function isActionFailure(e: unknown): e is ActionFailure;
135+ function isActionFailure(
136+ e: unknown
137+ ): e is ActionFailure<undefined>;
98138```
99139
100140</div >
@@ -2303,41 +2343,6 @@ A `[file]: size` map of all assets imported by server code
23032343</div >
23042344</div ></div >
23052345
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-
23412346## ServerInitOptions
23422347
23432348<div class =" ts-block " >
0 commit comments