@uppy/utils
Version:
Shared utility functions for Uppy Core and plugins maintained by the Uppy team.
15 lines • 540 B
TypeScript
/**
* Little AbortController proxy module so we can swap out the implementation easily later.
*/
export declare const AbortController: {
new (): AbortController;
prototype: AbortController;
};
export declare const AbortSignal: {
new (): AbortSignal;
prototype: AbortSignal;
abort(reason?: any): AbortSignal;
timeout(milliseconds: number): AbortSignal;
};
export declare const createAbortError: (message?: string, options?: Parameters<typeof Error>[1]) => DOMException;
//# sourceMappingURL=AbortController.d.ts.map