Merge pull request #3211 from dmorgantini/mine/master

add constant to lodash
This commit is contained in:
Masahiro Wakame
2014-11-24 13:20:27 +09:00
+8
View File
@@ -6324,6 +6324,14 @@ declare module _ {
noop(): void;
}
//_.constant
interface LoDashStatic {
/**
* Creates a function that returns value..
**/
constant<T>(value: T): T;
}
//_.create
interface LoDashStatic {
/**