tsmonad: fixed a bug I introduced

This commit is contained in:
Valentin Robert
2016-09-23 13:34:30 -07:00
parent 90285171a9
commit 6468b4e05e

2
tsmonad/index.d.ts vendored
View File

@@ -460,7 +460,7 @@ declare namespace TsMonad {
* @param {T} pattern Default value to have if Nothing
* @return {Maybe<T>}
*/
public defaulting(defaultValue: T): T;
public defaulting(defaultValue: T): Maybe<T>;
/**
* @name equals
* @description Compare the type and the content of two Maybe