UNPKG

curb-virtualized-chat

Version:

A virtualized chat component for React applications.

18 lines (17 loc) 392 B
interface HeadersType { [key: string]: string; } export interface Options { method: string; headers?: HeadersType; body?: any; } export interface AsyncFetchResult { status: number; ok: boolean; contentType: string | null; body: any; error?: string; } export declare function asyncFetch(url: string, options: Options): Promise<AsyncFetchResult>; export {};