refactor: change backend to typescript and update types and variables accordingly
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export type ErrorCode = readonly [code: string, message: string];
|
||||
|
||||
export interface Response {
|
||||
success: boolean;
|
||||
code: string;
|
||||
data: any;
|
||||
message: string;
|
||||
}
|
||||
Reference in New Issue
Block a user