Config: {
errorType: ErrorType;
options: object;
polyfills: object;
polyfill(p: "fetch", doThrow?: boolean): {
(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
(input: RequestInfo, init?: RequestInit): Promise<Response>;
};
polyfill(p: "FormData", doThrow: boolean, instance: true, ...args: [form?: HTMLFormElement, submitter?: HTMLElement]): FormData;
polyfill(p: "FormData", doThrow?: boolean, instance?: false): {
prototype: FormData;
new (form?: HTMLFormElement, submitter?: HTMLElement): FormData;
};
polyfill(p: "URL", doThrow: boolean, instance: true, ...args: [url: string | URL, base?: string | URL]): URL;
polyfill(p: "URL", doThrow?: boolean, instance?: false): {
prototype: URL;
canParse(url: string | URL, base?: string): boolean;
createObjectURL(obj: Blob | MediaSource): string;
revokeObjectURL(url: string): void;
new (url: string | URL, base?: string | URL): URL;
};
polyfill(p: "URLSearchParams", doThrow: boolean, instance: true, ...args: [init?:
| string
| Record<string, string>
| URLSearchParams
| string[][]]): URLSearchParams;
polyfill(p: "URLSearchParams", doThrow?: boolean, instance?: false): {
prototype: URLSearchParams;
new (init?:
| string
| Record<string, string>
| URLSearchParams
| string[][]): URLSearchParams;
};
polyfill(p: "AbortController", doThrow: boolean, instance: true, ...args: []): AbortController;
polyfill(p: "AbortController", doThrow?: boolean, instance?: false): {
prototype: AbortController;
new (): AbortController;
};
polyfill(p: "performance", doThrow: boolean): Performance;
polyfill(p: string, doThrow?: boolean, instance?: boolean, ...args: any[]): any;
}
Configuration object.