mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-24 11:00:03 +00:00
add constant to lodash
This commit is contained in:
8
lodash/lodash.d.ts
vendored
8
lodash/lodash.d.ts
vendored
@@ -6324,6 +6324,14 @@ declare module _ {
|
||||
noop(): void;
|
||||
}
|
||||
|
||||
//_.constant
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a function that returns value..
|
||||
**/
|
||||
constant<T>(value: T): T;
|
||||
}
|
||||
|
||||
//_.create
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user