export interface ResponseError { error: string; errorDescription: string; code: number; } export type BaseResponse = Promise<[T, ResponseError | null]>;