From b86213047227464d727674ea5cea6df2660805af Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Wed, 4 Mar 2020 10:08:16 +0100 Subject: [PATCH] Updating axios in types to be lower case All examples use the lower case variable `axios`. However, when auto importing in a TypeScript based editor, the import was named `Axios`, because this is how it was defined in the typings. --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 74b2acd2cc..f3b22cb744 100644 --- a/index.d.ts +++ b/index.d.ts @@ -155,6 +155,6 @@ export interface AxiosStatic extends AxiosInstance { spread(callback: (...args: T[]) => R): (array: T[]) => R; } -declare const Axios: AxiosStatic; +declare const axios: AxiosStatic; -export default Axios; +export default axios;