mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-08 16:40:30 +08:00
Add _.noop to lodash
Add static _.noop function to lodash.
This commit is contained in:
Vendored
+8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user