diff --git a/README.md b/README.md index cbaedf1..2d1cf4e 100644 --- a/README.md +++ b/README.md @@ -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.
diff --git a/src/cache/create.ts b/src/cache/create.ts index 8cd7607..3e592ef 100644 --- a/src/cache/create.ts +++ b/src/cache/create.ts @@ -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;