mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
add constant to lodash
This commit is contained in:
parent
a2786aa377
commit
fe4a5c024a
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 {
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user