mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +08:00
Add _.noop to lodash
Add static _.noop function to lodash.
This commit is contained in:
1 parent
90240e975b
commit
ae63871fe9
1 file changed
+8
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