| 84 | Allows jQuery Promises to interop with non-jQuery promises |
| 85 | */ |
| 86 | interface JQueryGenericPromise<T> { |
| 87 | then<U>(onFulfill: (value: T) => U, onReject?: (reason: any) => U): JQueryGenericPromise<U>; |
| 88 | then<U>(onFulfill: (value: T) => JQueryGenericPromise<U>, onReject?: (reason: any) => U): JQueryGenericPromise<U>; |
| 89 | then<U>(onFulfill: (value: T) => U, onReject?: (reason: any) => JQueryGenericPromise<U>): JQueryGenericPromise<U>; |
| 90 | then<U>(onFulfill: (value: T) => JQueryGenericPromise<U>, onReject?: (reason: any) => JQueryGenericPromise<U>): JQueryGenericPromise<U>; |
| 91 | } |
| 92 | |
| 93 | /* |
| 94 | Interface for the JQuery promise, part of callbacks |
nothing calls this directly
no outgoing calls
no test coverage detected