mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 21:31:12 +08:00
Fix overload ordering
This commit is contained in:
8
resumablejs/resumablejs.d.ts
vendored
8
resumablejs/resumablejs.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user