Skip to content

Commit 3e8b538

Browse files
author
jarvisjiang
committed
update docs
1 parent 83aeaf2 commit 3e8b538

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

docs/functions/fetchT.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
5757

5858
### Defined in
5959

60-
[fetch.ts:14](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L14)
60+
[fetch.ts:14](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L14)
6161

6262
## fetchT(url, init)
6363

@@ -96,7 +96,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
9696

9797
### Defined in
9898

99-
[fetch.ts:26](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L26)
99+
[fetch.ts:26](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L26)
100100

101101
## fetchT(url, init)
102102

@@ -135,7 +135,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
135135

136136
### Defined in
137137

138-
[fetch.ts:38](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L38)
138+
[fetch.ts:38](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L38)
139139

140140
## fetchT(url, init)
141141

@@ -180,7 +180,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
180180

181181
### Defined in
182182

183-
[fetch.ts:51](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L51)
183+
[fetch.ts:51](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L51)
184184

185185
## fetchT(url, init)
186186

@@ -219,7 +219,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
219219

220220
### Defined in
221221

222-
[fetch.ts:63](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L63)
222+
[fetch.ts:63](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L63)
223223

224224
## fetchT(url, init)
225225

@@ -258,7 +258,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
258258

259259
### Defined in
260260

261-
[fetch.ts:74](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L74)
261+
[fetch.ts:74](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L74)
262262

263263
## fetchT(url, init)
264264

@@ -297,7 +297,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
297297

298298
### Defined in
299299

300-
[fetch.ts:85](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L85)
300+
[fetch.ts:85](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L85)
301301

302302
## fetchT(url, init)
303303

@@ -342,7 +342,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
342342

343343
### Defined in
344344

345-
[fetch.ts:97](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L97)
345+
[fetch.ts:97](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L97)
346346

347347
## fetchT(url, init)
348348

@@ -381,7 +381,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
381381

382382
### Defined in
383383

384-
[fetch.ts:108](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L108)
384+
[fetch.ts:108](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L108)
385385

386386
## fetchT(url)
387387

@@ -419,7 +419,7 @@ Additional options for the fetch operation, including custom `FetchInit` propert
419419

420420
### Defined in
421421

422-
[fetch.ts:118](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L118)
422+
[fetch.ts:118](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L118)
423423

424424
## fetchT(url, init)
425425

@@ -458,4 +458,4 @@ Additional options for the fetch operation, including custom `FetchInit` propert
458458

459459
### Defined in
460460

461-
[fetch.ts:128](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/fetch.ts#L128)
461+
[fetch.ts:128](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/fetch.ts#L128)

docs/interfaces/FetchInit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Extends the standard `RequestInit` interface from the Fetch API to include addit
1616

1717
| Property | Type | Description | Defined in |
1818
| ------ | ------ | ------ | ------ |
19-
| `abortable?` | `boolean` | Indicates whether the fetch request should be abortable. | [defines.ts:42](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L42) |
20-
| `responseType?` | `"text"` \| `"arraybuffer"` \| `"blob"` \| `"json"` | Specifies the expected response type of the fetch request. | [defines.ts:47](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L47) |
21-
| `timeout?` | `number` | Specifies the maximum time in milliseconds to wait for the fetch request to complete. | [defines.ts:52](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L52) |
19+
| `abortable?` | `boolean` | Indicates whether the fetch request should be abortable. | [defines.ts:42](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L42) |
20+
| `responseType?` | `"text"` \| `"arraybuffer"` \| `"blob"` \| `"json"` | Specifies the expected response type of the fetch request. | [defines.ts:47](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L47) |
21+
| `timeout?` | `number` | Specifies the maximum time in milliseconds to wait for the fetch request to complete. | [defines.ts:52](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L52) |

docs/interfaces/FetchTask.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Defines the structure and behavior of a fetch task, including the ability to abo
1616

1717
## Properties
1818

19-
| Property | Type | Description | Defined in |
20-
| ------ | ------ | ------ | ------ |
21-
| `aborted` | `boolean` | Indicates whether the fetch task has been aborted. | [defines.ts:27](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L27) |
22-
| `response` | [`FetchResponse`](../type-aliases/FetchResponse.md)\<`T`\> | The response of the fetch task, represented as an `AsyncResult`. | [defines.ts:32](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L32) |
19+
| Property | Modifier | Type | Description | Defined in |
20+
| ------ | ------ | ------ | ------ | ------ |
21+
| `aborted` | `readonly` | `boolean` | Indicates whether the fetch task has been aborted. | [defines.ts:27](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L27) |
22+
| `response` | `readonly` | [`FetchResponse`](../type-aliases/FetchResponse.md)\<`T`\> | The response of the fetch task, represented as an `AsyncResult`. | [defines.ts:32](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L32) |
2323

2424
## Methods
2525

@@ -43,4 +43,4 @@ Aborts the fetch task, optionally with a reason for the abortion.
4343
4444
#### Defined in
4545
46-
[defines.ts:22](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L22)
46+
[defines.ts:22](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L22)

docs/type-aliases/FetchResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Represents the response of a fetch operation, encapsulating the result data or a
2020

2121
## Defined in
2222

23-
[defines.ts:9](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L9)
23+
[defines.ts:9](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L9)

docs/variables/ABORT_ERROR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
# Variable: ABORT\_ERROR
88

99
```ts
10-
const ABORT_ERROR: "AbortError" = 'AbortError';
10+
const ABORT_ERROR: "AbortError";
1111
```
1212

1313
Name of abort error;
1414

1515
## Defined in
1616

17-
[defines.ts:58](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L58)
17+
[defines.ts:58](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L58)

docs/variables/TIMEOUT_ERROR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
# Variable: TIMEOUT\_ERROR
88

99
```ts
10-
const TIMEOUT_ERROR: "TimeoutError" = 'TimeoutError';
10+
const TIMEOUT_ERROR: "TimeoutError";
1111
```
1212

1313
Name of timeout error;
1414

1515
## Defined in
1616

17-
[defines.ts:63](https://github.com/JiangJie/fetch-t/blob/9e5d8bc709fe9cc1630d97e0ca16ef403ee959bb/src/fetch/defines.ts#L63)
17+
[defines.ts:63](https://github.com/JiangJie/fetch-t/blob/83aeaf257a9785c71aa40d9d0ccd18ebf56e3b59/src/fetch/defines.ts#L63)

0 commit comments

Comments
 (0)