borisyankov/DefinitelyTyped — pull request #2468 by tarh (2014-07-05 13:46:10+00:00)
Title: Fixes on es6-promise

- Uniform parameters names (onFulfilled, onFulFill, onFulfill, onFulfilled => onResolve and onRejected => onReject)
- Example of new use cases:
var p1: Promise = new Promise(function (resolve: Function) {
resolve(true);
}).catch(function () {
throw new Error('Better error msg');
});

var p2 = new Promise(function (resolve: Function) {
resolve();
});