mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
add promise.prototype.finally.d.ts
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
declare module 'es6-promise/dist/es6-promise' {
|
||||
export interface Promise <R> {
|
||||
finally?<U>(onFinally?: () => U | Promise<U>): Promise<U>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user