LoongPanel-Asp/web/types/baseType.ts

7 lines
103 B
TypeScript
Executable File

export interface HttpType<T> {
code: number,
message: string,
error: never,
data: T,
}