mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
add constant to lodash
This commit is contained in:
1 parent
a2786aa377
commit
fe4a5c024a
1 file changed
+8
Vendored
+8
@@ -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