2023-02-20 15:47:51 +08:00

6 lines
79 B
TypeScript

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