wip: coding

This commit is contained in:
kailong321200875
2022-06-23 22:37:49 +08:00
parent cf738b8701
commit f4c940d95e
15 changed files with 202 additions and 27 deletions

5
types/global.d.ts vendored
View File

@@ -33,3 +33,8 @@ declare type AxiosConfig = {
headersType?: string
responseType?: AxiosResponseType
}
declare interface IResponse<T = any> {
code: string
result: T extends any ? T : T & any
}