Make lodash object _().contains type clearer (no any)

This commit is contained in:
Tim Perry
2015-07-22 15:32:15 +01:00
parent da27def562
commit a9a55446fc
+3 -3
View File
@@ -2170,17 +2170,17 @@ declare module _ {
/**
* @see _.contains
**/
contains(target: any, fromIndex?: number): boolean;
contains<TValue>(target: TValue, fromIndex?: number): boolean;
/**
* @see _.contains
**/
include(target: any, fromIndex?: number): boolean;
include<TValue>(target: TValue, fromIndex?: number): boolean;
/**
* @see _.contains
**/
includes(target: any, fromIndex?: number): boolean;
includes<TValue>(target: TValue, fromIndex?: number): boolean;
}
interface LoDashStringWrapper extends LoDashWrapper<string> {