Add ApiResponse type
This commit is contained in:
parent
c769e6a3ba
commit
3c85acfc21
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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user