mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
5 lines
97 B
TypeScript
5 lines
97 B
TypeScript
export type ApiError = {
|
|
error: string
|
|
}
|
|
|
|
export type ApiResult<T> = ApiError | T | T[] | ""
|