From eb22d61fcce80c0f166986bda801f287617c57bb Mon Sep 17 00:00:00 2001 From: Kane Date: Fri, 10 Mar 2023 23:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=BF=9B=E5=BA=A6=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/web/task_schedule/src/utils/api/request.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,