mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Correct return type for no parameters in return method in bluebird
This commit is contained in:
4
types/bluebird/index.d.ts
vendored
4
types/bluebird/index.d.ts
vendored
@@ -228,8 +228,8 @@ declare class Bluebird<R> implements Bluebird.Thenable<R>, Bluebird.Inspection<R
|
||||
*
|
||||
* Alias `.thenReturn();` for compatibility with earlier ECMAScript version.
|
||||
*/
|
||||
return(): Bluebird<any>;
|
||||
thenReturn(): Bluebird<any>;
|
||||
return(): Bluebird<void>;
|
||||
thenReturn(): Bluebird<void>;
|
||||
return<U>(value: U): Bluebird<U>;
|
||||
thenReturn<U>(value: U): Bluebird<U>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user