Skip to content

Commit

Permalink
chore: adding description on types
Browse files Browse the repository at this point in the history
  • Loading branch information
panvourtsis committed Jul 26, 2023
1 parent de159ce commit 46aaf91
Show file tree
Hide file tree
Showing 9 changed files with 594 additions and 592 deletions.
158 changes: 79 additions & 79 deletions documentation/docs/api/classes/BrowserRouter.md

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions documentation/docs/api/classes/Redirect.md

Large diffs are not rendered by default.

184 changes: 92 additions & 92 deletions documentation/docs/api/classes/Route.md

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions documentation/docs/api/interfaces/AxiosPromise.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
id: 'AxiosPromise'
title: 'Interface: AxiosPromise<T>'
sidebar_label: 'AxiosPromise'
id: "AxiosPromise"
title: "Interface: AxiosPromise<T>"
sidebar_label: "AxiosPromise"
sidebar_position: 0
custom_edit_url: null
---

## Type parameters

| Name | Type |
| :--- | :---- |
| `T` | `any` |
| Name | Type |
| :------ | :------ |
| `T` | `any` |

## Hierarchy

Expand All @@ -26,7 +26,7 @@ custom_edit_url: null

#### Inherited from

Promise.\_\_@toStringTag@6618
Promise.\_\_@toStringTag@6616

#### Defined in

Expand All @@ -42,15 +42,15 @@ Attaches a callback for only the rejection of the Promise.

#### Type parameters

| Name | Type |
| :-------- | :------ |
| Name | Type |
| :------ | :------ |
| `TResult` | `never` |

#### Parameters

| Name | Type | Description |
| :------------ | :-------------------------------------------------------------------- | :---------------------------------------------------- |
| `onrejected?` | `null` \| (`reason`: `any`) => `TResult` \| `PromiseLike`<`TResult`\> | The callback to execute when the Promise is rejected. |
| Name | Type | Description |
| :------ | :------ | :------ |
| `onrejected?` | ``null`` \| (`reason`: `any`) => `TResult` \| `PromiseLike`<`TResult`\> | The callback to execute when the Promise is rejected. |

#### Returns

Expand All @@ -66,7 +66,7 @@ Promise.catch

documentation/node_modules/typescript/lib/lib.es5.d.ts:1509

---
___

### finally

Expand All @@ -77,9 +77,9 @@ resolved value cannot be modified from the callback.

#### Parameters

| Name | Type | Description |
| :----------- | :--------------------- | :--------------------------------------------------------------------------- |
| `onfinally?` | `null` \| () => `void` | The callback to execute when the Promise is settled (fulfilled or rejected). |
| Name | Type | Description |
| :------ | :------ | :------ |
| `onfinally?` | ``null`` \| () => `void` | The callback to execute when the Promise is settled (fulfilled or rejected). |

#### Returns

Expand All @@ -95,7 +95,7 @@ Promise.finally

documentation/node_modules/typescript/lib/lib.es2018.promise.d.ts:31

---
___

### then

Expand All @@ -105,17 +105,17 @@ Attaches callbacks for the resolution and/or rejection of the Promise.

#### Type parameters

| Name | Type |
| :--------- | :---------------------------------------- |
| Name | Type |
| :------ | :------ |
| `TResult1` | [`AxiosResponse`](AxiosResponse.md)<`T`\> |
| `TResult2` | `never` |
| `TResult2` | `never` |

#### Parameters

| Name | Type | Description |
| :------------- | :--------------------------------------------------------------------------------------------------------- | :---------------------------------------------------- |
| `onfulfilled?` | `null` \| (`value`: [`AxiosResponse`](AxiosResponse.md)<`T`\>) => `TResult1` \| `PromiseLike`<`TResult1`\> | The callback to execute when the Promise is resolved. |
| `onrejected?` | `null` \| (`reason`: `any`) => `TResult2` \| `PromiseLike`<`TResult2`\> | The callback to execute when the Promise is rejected. |
| Name | Type | Description |
| :------ | :------ | :------ |
| `onfulfilled?` | ``null`` \| (`value`: [`AxiosResponse`](AxiosResponse.md)<`T`\>) => `TResult1` \| `PromiseLike`<`TResult1`\> | The callback to execute when the Promise is resolved. |
| `onrejected?` | ``null`` \| (`reason`: `any`) => `TResult2` \| `PromiseLike`<`TResult2`\> | The callback to execute when the Promise is rejected. |

#### Returns

Expand Down
Loading

0 comments on commit 46aaf91

Please sign in to comment.