We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3695e5 commit 46d7471Copy full SHA for 46d7471
lib/index.d.ts
@@ -11,7 +11,7 @@ export class Upload {
11
options: UploadOptions;
12
url: string | null;
13
14
- static terminate(url: string, options?: UploadOptions, callback?: (error?: Error) => void): void;
+ static terminate(url: string, options?: UploadOptions): Promise<void>;
15
start(): void;
16
abort(shouldTerminate?: boolean): Promise<void>;
17
findPreviousUploads(): Promise<PreviousUpload[]>;
0 commit comments