DefinitelyTyped/promise.prototype.finally
Tom Spencer 98e4a1161d Add shim function to typings for promise.prototype.finally (#13339)
* Add shim function to typings

Add shim function to typings for promise.prototype.finally so that it can be used in a TypeScript project.

* Added shim test

* Update code style.

* Change return type to original promise.

The finally block should return the type of the original promise, not whatever is passed in to the finally block.
2017-01-06 07:29:52 -08:00
..
index.d.ts Add shim function to typings for promise.prototype.finally (#13339) 2017-01-06 07:29:52 -08:00
promise.prototype.finally-tests.ts Add shim function to typings for promise.prototype.finally (#13339) 2017-01-06 07:29:52 -08:00
tsconfig.json Add "noImplicitThis" to all tsconfig.json (#13446) 2016-12-19 14:11:46 -08:00