From ae63871fe94109447cc1a4083ea64ae41aa58ad5 Mon Sep 17 00:00:00 2001 From: Sergey Zarouski Date: Wed, 2 Jul 2014 23:10:14 -0400 Subject: [PATCH] Add _.noop to lodash Add static _.noop function 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 f90397a37..a4de09279 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -6201,6 +6201,14 @@ declare module _ { **/ uniqueId(prefix?: string): string; } + + //_.noop + interface LoDashStatic { + /** + * A no-operation function. + **/ + noop(): void; + } interface ListIterator { (value: T, index: number, list: T[]): TResult;