style: formatted code

This commit is contained in:
arthurfiorette 2021-12-27 18:48:26 -03:00
parent cd0c189661
commit 27de6292be
No known key found for this signature in database
GPG Key ID: 9D190CD53C53C555
2 changed files with 5 additions and 4 deletions

View File

@ -227,14 +227,16 @@ After that, you can made your own requests normally.
## Compiled code
As axios itself requires [ES6 Promises](https://axios-http.com/docs/notes#promises), the CommonsJS module and the Browser minified version are also `>= ES6` compatibles.
As axios itself requires [ES6 Promises](https://axios-http.com/docs/notes#promises), the
CommonsJS module and the Browser minified version are also `>= ES6` compatibles.
You can see more here about compiling options:
- [Browser config](/tsconfig.browser.json) & [Webpack config](/webpack.config.js)
- [NodeJS Config](/tsconfig.build.json)
Don't forget, you can always rebuilt this library by up from it's source code or recompile the dist with lower ecma script versions.
Don't forget, you can always rebuilt this library by up from it's source code or recompile
the dist with lower ecma script versions.
<br />

3
src/cache/create.ts vendored
View File

@ -64,10 +64,9 @@ export function createCache(
/**
* Apply the caching interceptors for a already created axios instance.
*
* @deprecated Prefer {@link createCache}
* @param axios The already created axios instance
* @param config The config for the caching interceptors
* @returns The same instance but with caching enabled
*
* @deprecated Prefer {@link createCache}
*/
export const useCache = createCache;