Skip to content

Commit 4e21964

Browse files
committed
chore: gendocs [skip ci]
1 parent f821c31 commit 4e21964

File tree

2 files changed

+48
-4
lines changed

2 files changed

+48
-4
lines changed

docs/interfaces/use_fetch.FetchAPI.md

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,60 @@ The necessary API from the fetch environment for the handler.
1818

1919
### ReadableStream
2020

21-
**ReadableStream**: `Object`
21+
**ReadableStream**: <R\>(`underlyingSource?`: `UnderlyingSource`<`R`\>, `strategy?`: `QueuingStrategy`<`R`\>) => `ReadableStream`<`R`\>
22+
23+
#### Type declaration
24+
25+
**new FetchAPI**<`R`\>(`underlyingSource?`, `strategy?`): `ReadableStream`<`R`\>
26+
27+
##### Type parameters
28+
29+
| Name | Type |
30+
| :------ | :------ |
31+
| `R` | `any` |
32+
33+
##### Parameters
34+
35+
| Name | Type |
36+
| :------ | :------ |
37+
| `underlyingSource?` | `UnderlyingSource`<`R`\> |
38+
| `strategy?` | `QueuingStrategy`<`R`\> |
39+
40+
##### Returns
41+
42+
`ReadableStream`<`R`\>
2243

2344
___
2445

2546
### Response
2647

27-
**Response**: `Object`
48+
**Response**: (`body?`: ``null`` \| `BodyInit`, `init?`: `ResponseInit`) => `Response`
49+
50+
#### Type declaration
51+
52+
**new FetchAPI**(`body?`, `init?`): `Response`
53+
54+
##### Parameters
55+
56+
| Name | Type |
57+
| :------ | :------ |
58+
| `body?` | ``null`` \| `BodyInit` |
59+
| `init?` | `ResponseInit` |
60+
61+
##### Returns
62+
63+
`Response`
2864

2965
___
3066

3167
### TextEncoder
3268

33-
**TextEncoder**: `Object`
69+
**TextEncoder**: () => `TextEncoder`
70+
71+
#### Type declaration
72+
73+
**new FetchAPI**(): `TextEncoder`
74+
75+
##### Returns
76+
77+
`TextEncoder`

docs/modules/use_fastify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ console.log('Listening to port 4000');
3939

4040
| Name | Type |
4141
| :------ | :------ |
42-
| `options` | [`HandlerOptions`](../interfaces/handler.HandlerOptions.md)<`FastifyRequest`<`RouteGenericInterface`, `Server`, `IncomingMessage`, `FastifySchema`, `FastifyTypeProviderDefault`, `unknown`, `FastifyBaseLogger`, `ResolveFastifyRequestType`<`FastifyTypeProviderDefault`, `FastifySchema`, `RouteGenericInterface`\>\>, `undefined`, `Context`\> |
42+
| `options` | [`HandlerOptions`](../interfaces/handler.HandlerOptions.md)<`FastifyRequest`<`RouteGenericInterface`, `RawServerDefault`, `IncomingMessage`, `FastifySchema`, `FastifyTypeProviderDefault`, `unknown`, `FastifyBaseLogger`, `ResolveFastifyRequestType`<`FastifyTypeProviderDefault`, `FastifySchema`, `RouteGenericInterface`\>\>, `undefined`, `Context`\> |
4343

4444
#### Returns
4545

0 commit comments

Comments
 (0)