underscore: remove method 'value' from interface 'UnderscoreStatic'

This commit is contained in:
pallxk
2015-09-07 21:06:54 +08:00
parent bb051830df
commit 925549c4eb
+2 -8
View File
@@ -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;
}