mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
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