Fix overload ordering

This commit is contained in:
Daniel McAssey
2016-06-22 10:08:11 +01:00
parent 7fbf8c7663
commit f6e8e7d2f1

View File

@@ -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 {