mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
style: formatted code
This commit is contained in:
parent
cd0c189661
commit
27de6292be
@ -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
3
src/cache/create.ts
vendored
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user