From b6f5e62c8d0e7d13201af171c160706c77e96a51 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 fc1fd186af..7a1e72e1e6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -152,6 +152,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;