wip: coding
This commit is contained in:
5
types/global.d.ts
vendored
5
types/global.d.ts
vendored
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user