mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Make lodash object _().contains type clearer (no any)
This commit is contained in:
Vendored
+3
-3
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user