From 6468b4e05e88b4282f6c1d586945aaaebd3cd92c Mon Sep 17 00:00:00 2001 From: Valentin Robert Date: Fri, 23 Sep 2016 13:34:30 -0700 Subject: [PATCH] tsmonad: fixed a bug I introduced --- tsmonad/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsmonad/index.d.ts b/tsmonad/index.d.ts index c468c6aefd..c70953b483 100644 --- a/tsmonad/index.d.ts +++ b/tsmonad/index.d.ts @@ -460,7 +460,7 @@ declare namespace TsMonad { * @param {T} pattern Default value to have if Nothing * @return {Maybe} */ - public defaulting(defaultValue: T): T; + public defaulting(defaultValue: T): Maybe; /** * @name equals * @description Compare the type and the content of two Maybe