From 9861ba85fd1774dceaa6b245a9dbfaa300bf10f1 Mon Sep 17 00:00:00 2001 From: David Morgantini Date: Tue, 9 Dec 2014 22:22:35 +0000 Subject: [PATCH] fix mistake in constant * constant returns a function rather than a type --- lodash/lodash.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index 364ec3de84..6085375c24 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -6329,7 +6329,7 @@ declare module _ { /** * Creates a function that returns value.. **/ - constant(value: T): T; + constant(value: T): () => T; } //_.create