Add ApiResponse type
This commit is contained in:
6
src/types/ApiResponse.ts
Normal file
6
src/types/ApiResponse.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import type * as all from "./"
|
||||
|
||||
export interface ApiResponse {
|
||||
status: "ok" | "error",
|
||||
data: any
|
||||
}
|
Reference in New Issue
Block a user