initial commit
This commit is contained in:
10
src/axios.d.ts
vendored
Normal file
10
src/axios.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export interface Result<T = unknown> {
|
||||
code: number;
|
||||
data: T;
|
||||
errorMsg: string;
|
||||
extra: unknown;
|
||||
isSuccess: boolean;
|
||||
msg: string;
|
||||
path?: string;
|
||||
timestamp: string;
|
||||
}
|
||||
Reference in New Issue
Block a user