mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #16466 from WatchBeam/bluebird-return-empty-return-void
Correct return type for no parameters in `return` method in bluebird
This commit is contained in:
Vendored
+2
-2
@@ -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