1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 22:54:22 +00:00
festa/types/api.ts
2022-05-30 05:19:49 +02:00

5 lines
97 B
TypeScript

export type ApiError = {
error: string
}
export type ApiResult<T> = ApiError | T | T[] | ""