UNPKG

@tmlmobilidade/utils

Version:

A collection of utility functions and helpers for the TML Mobilidade Go monorepo, providing common functionality for batching operations, caching, HTTP requests, object manipulation, permissions, and more.

12 lines (11 loc) 310 B
export declare class HttpResponse<T> { readonly data: null | T; readonly error: null | string; readonly isOk?: () => boolean; readonly statusCode: number; constructor({ data, error, statusCode }: { data: null | T; error: null | string; statusCode: number; }); }