From fe4a5c024a100690b5df6d7db606fdfd710c90b5 Mon Sep 17 00:00:00 2001 From: David Morgantini Date: Sun, 23 Nov 2014 22:23:31 +0000 Subject: [PATCH] add constant to lodash --- lodash/lodash.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index dfa5e2e6a0..364ec3de84 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -6324,6 +6324,14 @@ declare module _ { noop(): void; } + //_.constant + interface LoDashStatic { + /** + * Creates a function that returns value.. + **/ + constant(value: T): T; + } + //_.create interface LoDashStatic { /**