@absmartly/javascript-sdk
Version:
A/B Smartly Javascript SDK
10 lines • 386 B
TypeScript
export type FetchOptions = {
signal?: AbortSignal;
method?: "get" | "post" | "put" | "patch" | "delete" | "head" | "options";
credentials?: "include";
headers?: Record<string, string>;
body?: XMLHttpRequestBodyInit;
};
export declare function fetch(url: string, options: FetchOptions): Promise<unknown>;
export default fetch;
//# sourceMappingURL=fetch-shim.d.ts.map