diff --git a/code/web/task_schedule/src/utils/api/request.ts b/code/web/task_schedule/src/utils/api/request.ts index 2cb3a18..ec254c7 100644 --- a/code/web/task_schedule/src/utils/api/request.ts +++ b/code/web/task_schedule/src/utils/api/request.ts @@ -8,9 +8,9 @@ * Copyright (c) ${2022} by Kane, All Rights Reserved. */ -import axios from "axios"; +import axios, { type AxiosInstance } from "axios"; -const service = axios.create( +const service: AxiosInstance = axios.create( { baseURL: "", timeout: 10000,