Skip to content

Commit b3310ef

Browse files
committed
chore: remove method description
1 parent 84710b8 commit b3310ef

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

templates/base/http-clients/ky-http-client.ejs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,6 @@ export type ResponsePromise<Data> = {
1313
arrayBuffer: () => Promise<ArrayBuffer>;
1414
blob: () => Promise<Blob>;
1515
formData: () => Promise<FormData>;
16-
/**
17-
Get the response body as JSON.
18-
19-
@example
20-
```
21-
import ky from 'ky';
22-
23-
const json = await ky(…).json();
24-
```
25-
26-
@example
27-
```
28-
import ky from 'ky';
29-
30-
interface Result {
31-
value: number;
32-
}
33-
34-
const result = await ky(…).json<Result>();
35-
```
36-
*/
3716
json<T extends Data = Data>(): Promise<T>;
3817
text: () => Promise<string>;
3918
} & Promise<KyResponse<Data>>;

0 commit comments

Comments
 (0)