UNPKG

@coinset/gmocoin

Version:
17 lines 566 B
import type { RequestInit } from 'node-fetch'; declare type PublicAPI<O, R> = (options: O, init?: RequestInit) => Promise<R>; declare type SimplePublicAPI<O, R> = (options?: O, init?: RequestInit) => Promise<R>; declare type Reviver = Parameters<typeof JSON.parse>[1]; declare type Response<T> = { status: true; data: T; responsetime: Date; } | { status: false; messages: { message_code: string; message_string: string; }[]; }; export type { PublicAPI, SimplePublicAPI, Reviver, Response }; //# sourceMappingURL=fetch.d.ts.map