diff --git a/resumablejs/resumablejs.d.ts b/resumablejs/resumablejs.d.ts index 8678b8248e..c87d669a07 100644 --- a/resumablejs/resumablejs.d.ts +++ b/resumablejs/resumablejs.d.ts @@ -231,10 +231,6 @@ declare namespace Resumable { **/ handleDropEvent(e: Event): void; - /** - * Listen for event from Resumable.js (see below) - **/ - on(event: string, callback: Function): void; /** * A specific file was completed. **/ @@ -303,6 +299,10 @@ declare namespace Resumable { * Listen to all the events listed above with the same callback function. **/ on(event: 'catchAll', callback: () => void): void; + /** + * Listen for event from Resumable.js (see below) + **/ + on(event: string, callback: Function): void; } interface ResumableFile {