UNPKG

@exromany/lido-csm-sdk

Version:

[![GitHub license](https://img.shields.io/github/license/lidofinance/lido-csm-sdk?color=limegreen)](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [![Version npm](https://img.shields.io/npm/v/@lidofinance/lido-csm-sdk?label=version)](h

5 lines 352 B
type Fetcher = <T>(url: string, params?: RequestInit, parser?: (text: string) => T) => Promise<T>; export declare const fetchJson: Fetcher; export declare const fetchWithFallback: <T>(urls: Array<string | null>, fetcher: (url: string) => Promise<T | null>) => Promise<NonNullable<Awaited<T>> | void>; export {}; //# sourceMappingURL=fetch-json.d.ts.map