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