From b6e28f381b1f30bedafcafd4d703d920d260146d Mon Sep 17 00:00:00 2001 From: Alexander Surinov Date: Tue, 12 Apr 2016 17:14:59 +0300 Subject: [PATCH] Update definition of Flatten method in chain. (#8901) --- underscore/underscore.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index 7c8866214..5952cdea6 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -39,7 +39,7 @@ declare module _ { * Default value is '/<%-([\s\S]+?)%>/g'. **/ escape?: RegExp; - + /** * By default, 'template()' places the values from your data in the local scope via the 'with' statement. * However, you can specify a single variable name with this setting. @@ -5908,7 +5908,7 @@ interface _ChainSingle { value(): T; } interface _ChainOfArrays extends _Chain { - flatten(): _Chain; + flatten(shallow?: boolean): _Chain; } declare var _: UnderscoreStatic;