Update definition of Flatten method in chain. (#8901)

This commit is contained in:
Alexander Surinov
2016-04-12 23:14:59 +09:00
committed by Masahiro Wakame
parent 10d69f9da6
commit b6e28f381b
+2 -2
View File
@@ -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<T> {
value(): T;
}
interface _ChainOfArrays<T> extends _Chain<T[]> {
flatten(): _Chain<T>;
flatten(shallow?: boolean): _Chain<T>;
}
declare var _: UnderscoreStatic;