Skip to content

Commit

Permalink
style: formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Dec 27, 2021
1 parent cd0c189 commit 27de629
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 />

Expand Down
3 changes: 1 addition & 2 deletions src/cache/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 27de629

Please sign in to comment.