mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
docs: fix CommonJS usage note
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9e6205630e
commit
b5b7760373
@@ -167,7 +167,7 @@ Using unpkg CDN:
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
> **Note** CommonJS usage
|
> **Note**: CommonJS usage
|
||||||
> In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with `require()`, use the following approach:
|
> In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with `require()`, use the following approach:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|||||||
Reference in New Issue
Block a user