fix mistake in constant

* constant returns a function rather than a type
This commit is contained in:
David Morgantini 2014-12-09 22:22:35 +00:00
parent 9a6d206c5a
commit 9861ba85fd

2
lodash/lodash.d.ts vendored
View File

@ -6329,7 +6329,7 @@ declare module _ {
/**
* Creates a function that returns value..
**/
constant<T>(value: T): T;
constant<T>(value: T): () => T;
}
//_.create