1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-23 07:04:22 +00:00
festa/types/api.ts

6 lines
97 B
TypeScript
Raw Normal View History

2022-05-29 02:01:56 +00:00
export type ApiError = {
error: string
}
2022-05-30 03:19:49 +00:00
export type ApiResult<T> = ApiError | T | T[] | ""