Add _.noop to lodash

Add static _.noop function to lodash.
This commit is contained in:
Sergey Zarouski
2014-07-02 23:10:14 -04:00
parent 90240e975b
commit ae63871fe9
+8
View File
@@ -6201,6 +6201,14 @@ declare module _ {
**/
uniqueId(prefix?: string): string;
}
//_.noop
interface LoDashStatic {
/**
* A no-operation function.
**/
noop(): void;
}
interface ListIterator<T, TResult> {
(value: T, index: number, list: T[]): TResult;