@knine-sdk/fetch
Version:
Fetchers for Knine projects.
7 lines (6 loc) • 393 B
TypeScript
import { RequestInfo, RequestInit, Response } from './fetch';
export interface FetchWithFallbacksOptions extends RequestInit {
fetch?: (url: RequestInfo, init?: RequestInit) => Promise<Response>;
}
export declare type FetchWithFallbacks = (inputs: RequestInfo[], options?: FetchWithFallbacksOptions) => Promise<Response>;
export declare const fetchWithFallbacks: FetchWithFallbacks;