mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #5719 from pallxk/underscore-value
underscore: remove method 'value' from interface 'UnderscoreStatic'
This commit is contained in:
Vendored
+2
-8
@@ -1614,13 +1614,6 @@ interface UnderscoreStatic {
|
||||
**/
|
||||
chain<T>(obj: T[]): _Chain<T>;
|
||||
chain<T extends {}>(obj: T): _Chain<T>;
|
||||
|
||||
/**
|
||||
* Extracts the value of a wrapped object.
|
||||
* @param obj Wrapped object to extract the value from.
|
||||
* @return Value of `obj`.
|
||||
**/
|
||||
value<T, TResult>(obj: T): TResult;
|
||||
}
|
||||
|
||||
interface Underscore<T> {
|
||||
@@ -2463,7 +2456,8 @@ interface Underscore<T> {
|
||||
|
||||
/**
|
||||
* Wrapped type `any`.
|
||||
* @see _.value
|
||||
* Extracts the value of a wrapped object.
|
||||
* @return Value of the wrapped object.
|
||||
**/
|
||||
value<TResult>(): TResult;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user