From b0aa33262753ba9170d926ad15698572026d5c12 Mon Sep 17 00:00:00 2001 From: KhodeN Date: Sun, 29 Dec 2013 17:22:54 +1100 Subject: [PATCH] Update sugar.d.ts argument 'all' is optional for `String.capitalize` --- sugar/sugar.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/sugar.d.ts b/sugar/sugar.d.ts index 94ab0f365..ff2ff8dcc 100644 --- a/sugar/sugar.d.ts +++ b/sugar/sugar.d.ts @@ -111,7 +111,7 @@ interface String { * 'hello kitty'.capitalize(true) -> 'Hello Kitty' * **/ - capitalize(all: boolean): string; + capitalize(all?: boolean): string; /** * Runs callback [fn] against each character in the string.