Skip to content

Commit

Permalink
Promise.finally does not change promise type
Browse files Browse the repository at this point in the history
  • Loading branch information
phiresky committed Jun 29, 2016
1 parent 786ca0b commit 9db18e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dexie.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ declare module Dexie {

catch<U>(errorName: string, onRejected: (error: {name: string}) => U): Promise<R|U>;

finally<R>(onFinally: () => any): Promise<R>;
finally(onFinally: () => any): Promise<R>;

onuncatched: () => any;
}
Expand Down

0 comments on commit 9db18e4

Please sign in to comment.