mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-04 20:54:36 +00:00
* Change the Promise.thenReject signature to allow matching of a different type. Type-checking rejections is problematic as it's equivalent to `throw`: you don't get a value of type T in your success callback. You get an Error (or other thrown type) in an error callback.