2023-03-08 10:02:46 +08:00

6 lines
88 B
TypeScript

declare interface API<T = any> {
code: number;
data?: T;
message: string;
}