type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.shuffle */ shuffle(): LoDashImplicitArrayWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.shuffle */ shuffle(): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.shuffle */ shuffle<T>(): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.shuffle */ shuffle(): LoDashExplicitArrayWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.shuffle */ shuffle(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.shuffle */ shuffle<T>(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.size interface LoDashStatic { /** * Gets the size of collection by returning its length for array-like values or the number of own enumerable * properties for objects. * * @param collection The collection to inspect. * @return Returns the size of collection. */ size<T>(collection: List<T>|Dictionary<T>): number; /** * @see _.size */ size(collection: string): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.size */ size(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.size */ size(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.size */ size(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.size */ size(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.size */ size(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.size */ size(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.some interface LoDashStatic { /** * Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate * returns truthy. The predicate is invoked with three arguments: (value, index|key, collection). * * @param collection The collection to iterate over. * @param predicate The function invoked per iteration. * @return Returns true if any element passes the predicate check, else false. */ some<T>( collection: List<T>, predicate?: ListIterator<T, boolean> ): boolean; /** * @see _.some */ some<T>( collection: Dictionary<T>, predicate?: DictionaryIterator<T, boolean> ): boolean; /** * @see _.some */ some<T>( collection: NumericDictionary<T>, predicate?: NumericDictionaryIterator<T, boolean> ): boolean; /** * @see _.some */ some( collection: Object, predicate?: ObjectIterator<any, boolean> ): boolean; /** * @see _.some */ some<T>( collection: List<T>|Dictionary<T>|NumericDictionary<T>, predicate?: string|[string, any] ): boolean; /** * @see _.some */ some( collection: Object, predicate?: string|[string, any] ): boolean; /** * @see _.some */ some<TObject extends {}, T>( collection: List<T>|Dictionary<T>|NumericDictionary<T>, predicate?: TObject ): boolean; /** * @see _.some */ some<T>( collection: List<T>|Dictionary<T>|NumericDictionary<T>, predicate?: Object ): boolean; /** * @see _.some */ some<TObject extends {}>( collection: Object, predicate?: TObject ): boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.some */ some( predicate?: ListIterator<T, boolean>|NumericDictionaryIterator<T, boolean> ): boolean; /** * @see _.some */ some( predicate?: string|[string, any] ): boolean; /** * @see _.some */ some<TObject extends {}>( predicate?: TObject ): boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.some */ some<TResult>( predicate?: ListIterator<TResult, boolean>|DictionaryIterator<TResult, boolean>|NumericDictionaryIterator<T, boolean>|ObjectIterator<any, boolean> ): boolean; /** * @see _.some */ some( predicate?: string|[string, any] ): boolean; /** * @see _.some */ some<TObject extends {}>( predicate?: TObject ): boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.some */ some( predicate?: ListIterator<T, boolean>|NumericDictionaryIterator<T, boolean> ): LoDashExplicitWrapper<boolean>; /** * @see _.some */ some( predicate?: string|[string, any] ): LoDashExplicitWrapper<boolean>; /** * @see _.some */ some<TObject extends {}>( predicate?: TObject ): LoDashExplicitWrapper<boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.some */ some<TResult>( predicate?: ListIterator<TResult, boolean>|DictionaryIterator<TResult, boolean>|NumericDictionaryIterator<T, boolean>|ObjectIterator<any, boolean> ): LoDashExplicitWrapper<boolean>; /** * @see _.some */ some( predicate?: string|[string, any] ): LoDashExplicitWrapper<boolean>; /** * @see _.some */ some<TObject extends {}>( predicate?: TObject ): LoDashExplicitWrapper<boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.sortBy interface LoDashStatic { /** * Creates an array of elements, sorted in ascending order by the results of * running each element in a collection through each iteratee. This method * performs a stable sort, that is, it preserves the original sort order of * equal elements. The iteratees are invoked with one argument: (value). * * @static * @memberOf _ * @category Collection * @param {Array|Object} collection The collection to iterate over. * @param {...(Function|Function[]|Object|Object[]|string|string[])} [iteratees=[_.identity]] * The iteratees to sort by, specified individually or in arrays. * @returns {Array} Returns the new sorted array. * @example * * var users = [ * { 'user': 'fred', 'age': 48 }, * { 'user': 'barney', 'age': 36 }, * { 'user': 'fred', 'age': 42 }, * { 'user': 'barney', 'age': 34 } * ]; * * _.sortBy(users, function(o) { return o.user; }); * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] * * _.sortBy(users, ['user', 'age']); * // => objects for [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]] * * _.sortBy(users, 'user', function(o) { * return Math.floor(o.age / 10); * }); * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] */ sortBy<T, TSort>( collection: List<T>, iteratee?: ListIterator<T, TSort> ): T[]; /** * @see _.sortBy */ sortBy<T, TSort>( collection: Dictionary<T>, iteratee?: DictionaryIterator<T, TSort> ): T[]; /** * @see _.sortBy */ sortBy<T>( collection: List<T>|Dictionary<T>, iteratee: string ): T[]; /** * @see _.sortBy */ sortBy<W extends {}, T>( collection: List<T>|Dictionary<T>, whereValue: W ): T[]; /** * @see _.sortBy */ sortBy<T>( collection: List<T>|Dictionary<T> ): T[]; /** * @see _.sortBy */ sortBy<T>( collection: (Array<T>|List<T>), iteratees: (ListIterator<T, any>|string|Object)[]): T[]; /** * @see _.sortBy */ sortBy<T>( collection: (Array<T>|List<T>), ...iteratees: (ListIterator<T, boolean>|Object|string)[]): T[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.sortBy */ sortBy<TSort>( iteratee?: ListIterator<T, TSort> ): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy(iteratee: string): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<W extends {}>(whereValue: W): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy(): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy(...iteratees: (ListIterator<T, boolean>|Object|string)[]): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy **/ sortBy(iteratees: (ListIterator<T, any>|string|Object)[]): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.sortBy */ sortBy<T, TSort>( iteratee?: ListIterator<T, TSort>|DictionaryIterator<T, TSort> ): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<T>(iteratee: string): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<W extends {}, T>(whereValue: W): LoDashImplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<T>(): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.sortBy */ sortBy<TSort>( iteratee?: ListIterator<T, TSort> ): LoDashExplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy(iteratee: string): LoDashExplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<W extends {}>(whereValue: W): LoDashExplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.sortBy */ sortBy<T, TSort>( iteratee?: ListIterator<T, TSort>|DictionaryIterator<T, TSort> ): LoDashExplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<T>(iteratee: string): LoDashExplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<W extends {}, T>(whereValue: W): LoDashExplicitArrayWrapper<T>; /** * @see _.sortBy */ sortBy<T>(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.orderBy interface LoDashStatic { /** * This method is like `_.sortBy` except that it allows specifying the sort * orders of the iteratees to sort by. If `orders` is unspecified, all values * are sorted in ascending order. Otherwise, specify an order of "desc" for * descending or "asc" for ascending sort order of corresponding values. * * @static * @memberOf _ * @category Collection * @param {Array|Object} collection The collection to iterate over. * @param {Function[]|Object[]|string[]} [iteratees=[_.identity]] The iteratees to sort by. * @param {string[]} [orders] The sort orders of `iteratees`. * @param- {Object} [guard] Enables use as an iteratee for functions like `_.reduce`. * @returns {Array} Returns the new sorted array. * @example * * var users = [ * { 'user': 'fred', 'age': 48 }, * { 'user': 'barney', 'age': 34 }, * { 'user': 'fred', 'age': 42 }, * { 'user': 'barney', 'age': 36 } * ]; * * // sort by `user` in ascending order and by `age` in descending order * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] */ orderBy<W extends Object, T>( collection: List<T>, iteratees: ListIterator<T, any>|string|W|(ListIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): T[]; /** * @see _.orderBy */ orderBy<T>( collection: List<T>, iteratees: ListIterator<T, any>|string|Object|(ListIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): T[]; /** * @see _.orderBy */ orderBy<W extends Object, T>( collection: NumericDictionary<T>, iteratees: NumericDictionaryIterator<T, any>|string|W|(NumericDictionaryIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): T[]; /** * @see _.orderBy */ orderBy<T>( collection: NumericDictionary<T>, iteratees: NumericDictionaryIterator<T, any>|string|Object|(NumericDictionaryIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): T[]; /** * @see _.orderBy */ orderBy<W extends Object, T>( collection: Dictionary<T>, iteratees: DictionaryIterator<T, any>|string|W|(DictionaryIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): T[]; /** * @see _.orderBy */ orderBy<T>( collection: Dictionary<T>, iteratees: DictionaryIterator<T, any>|string|Object|(DictionaryIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): T[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.orderBy */ orderBy( iteratees: ListIterator<T, any>|string|(ListIterator<T, any>|string)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.orderBy */ orderBy<W extends Object>( iteratees: ListIterator<T, any>|string|W|(ListIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.orderBy */ orderBy<W extends Object, T>( iteratees: ListIterator<T, any>|string|W|(ListIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<T>( iteratees: ListIterator<T, any>|string|Object|(ListIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<W extends Object, T>( iteratees: NumericDictionaryIterator<T, any>|string|W|(NumericDictionaryIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<T>( iteratees: NumericDictionaryIterator<T, any>|string|Object|(NumericDictionaryIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<W extends Object, T>( iteratees: DictionaryIterator<T, any>|string|W|(DictionaryIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<T>( iteratees: DictionaryIterator<T, any>|string|Object|(DictionaryIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.orderBy */ orderBy( iteratees: ListIterator<T, any>|string|(ListIterator<T, any>|string)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.orderBy */ orderBy<W extends Object>( iteratees: ListIterator<T, any>|string|W|(ListIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.orderBy */ orderBy<W extends Object, T>( iteratees: ListIterator<T, any>|string|W|(ListIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<T>( iteratees: ListIterator<T, any>|string|Object|(ListIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<W extends Object, T>( iteratees: NumericDictionaryIterator<T, any>|string|W|(NumericDictionaryIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<T>( iteratees: NumericDictionaryIterator<T, any>|string|Object|(NumericDictionaryIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<W extends Object, T>( iteratees: DictionaryIterator<T, any>|string|W|(DictionaryIterator<T, any>|string|W)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; /** * @see _.orderBy */ orderBy<T>( iteratees: DictionaryIterator<T, any>|string|Object|(DictionaryIterator<T, any>|string|Object)[], orders?: boolean|string|(boolean|string)[] ): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
/******** * Date * ********/ //_.now interface LoDashStatic { /** * Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). * * @return The number of milliseconds. */ now(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.now */ now(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.now */ now(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
/************* * Functions * *************/ //_.after interface LoDashStatic { /** * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times. * * @param n The number of calls before func is invoked. * @param func The function to restrict. * @return Returns the new restricted function. */ after<TFunc extends Function>( n: number, func: TFunc ): TFunc; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.after **/ after<TFunc extends Function>(func: TFunc): LoDashImplicitObjectWrapper<TFunc>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.after **/ after<TFunc extends Function>(func: TFunc): LoDashExplicitObjectWrapper<TFunc>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.ary interface LoDashStatic { /** * Creates a function that accepts up to n arguments ignoring any additional arguments. * * @param func The function to cap arguments for. * @param n The arity cap. * @returns Returns the new function. */ ary<TResult extends Function>( func: Function, n?: number ): TResult; ary<T extends Function, TResult extends Function>( func: T, n?: number ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.ary */ ary<TResult extends Function>(n?: number): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.ary */ ary<TResult extends Function>(n?: number): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.before interface LoDashStatic { /** * Creates a function that invokes func, with the this binding and arguments of the created function, while * it’s called less than n times. Subsequent calls to the created function return the result of the last func * invocation. * * @param n The number of calls at which func is no longer invoked. * @param func The function to restrict. * @return Returns the new restricted function. */ before<TFunc extends Function>( n: number, func: TFunc ): TFunc; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.before **/ before<TFunc extends Function>(func: TFunc): LoDashImplicitObjectWrapper<TFunc>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.before **/ before<TFunc extends Function>(func: TFunc): LoDashExplicitObjectWrapper<TFunc>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.bind interface FunctionBind { placeholder: any; <T extends Function, TResult extends Function>( func: T, thisArg: any, ...partials: any[] ): TResult; <TResult extends Function>( func: Function, thisArg: any, ...partials: any[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind * arguments to those provided to the bound function. * * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for * partially applied arguments. * * Note: Unlike native Function#bind this method does not set the "length" property of bound functions. * * @param func The function to bind. * @param thisArg The this binding of func. * @param partials The arguments to be partially applied. * @return Returns the new bound function. */ bind: FunctionBind; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.bind */ bind<TResult extends Function>( thisArg: any, ...partials: any[] ): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.bind */ bind<TResult extends Function>( thisArg: any, ...partials: any[] ): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.bindAll interface LoDashStatic { /** * Binds methods of an object to the object itself, overwriting the existing method. Method names may be * specified as individual arguments or as arrays of method names. If no method names are provided all * enumerable function properties, own and inherited, of object are bound. * * Note: This method does not set the "length" property of bound functions. * * @param object The object to bind and assign the bound methods to. * @param methodNames The object method names to bind, specified as individual method names or arrays of * method names. * @return Returns object. */ bindAll<T>( object: T, ...methodNames: (string|string[])[] ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.bindAll */ bindAll(...methodNames: (string|string[])[]): LoDashImplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.bindAll */ bindAll(...methodNames: (string|string[])[]): LoDashExplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.bindKey interface FunctionBindKey { placeholder: any; <T extends Object, TResult extends Function>( object: T, key: any, ...partials: any[] ): TResult; <TResult extends Function>( object: Object, key: any, ...partials: any[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments * to those provided to the bound function. * * This method differs from _.bind by allowing bound functions to reference methods that may be redefined * or don’t yet exist. See Peter Michaux’s article for more details. * * The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder * for partially applied arguments. * * @param object The object the method belongs to. * @param key The key of the method. * @param partials The arguments to be partially applied. * @return Returns the new bound function. */ bindKey: FunctionBindKey; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.bindKey */ bindKey<TResult extends Function>( key: any, ...partials: any[] ): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.bindKey */ bindKey<TResult extends Function>( key: any, ...partials: any[] ): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.createCallback interface LoDashStatic { /** * Produces a callback bound to an optional thisArg. If func is a property name the created * callback will return the property value for a given element. If func is an object the created * callback will return true for elements that contain the equivalent object properties, * otherwise it will return false. * @param func The value to convert to a callback. * @param thisArg The this binding of the created callback. * @param argCount The number of arguments the callback accepts. * @return A callback function. **/ createCallback( func: string, thisArg?: any, argCount?: number): () => any; /** * @see _.createCallback **/ createCallback( func: Dictionary<any>, thisArg?: any, argCount?: number): () => boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.createCallback **/ createCallback( thisArg?: any, argCount?: number): LoDashImplicitObjectWrapper<() => any>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.createCallback **/ createCallback( thisArg?: any, argCount?: number): LoDashImplicitObjectWrapper<() => any>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.curry interface LoDashStatic { /** * Creates a function that accepts one or more arguments of func that when called either invokes func returning * its result, if all func arguments have been provided, or returns a function that accepts one or more of the * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. * @param func The function to curry. * @return Returns the new curried function. */ curry<T1, R>(func: (t1: T1) => R): CurriedFunction1<T1, R>; /** * Creates a function that accepts one or more arguments of func that when called either invokes func returning * its result, if all func arguments have been provided, or returns a function that accepts one or more of the * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. * @param func The function to curry. * @return Returns the new curried function. */ curry<T1, T2, R>(func: (t1: T1, t2: T2) => R): CurriedFunction2<T1, T2, R>; /** * Creates a function that accepts one or more arguments of func that when called either invokes func returning * its result, if all func arguments have been provided, or returns a function that accepts one or more of the * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. * @param func The function to curry. * @return Returns the new curried function. */ curry<T1, T2, T3, R>(func: (t1: T1, t2: T2, t3: T3) => R): CurriedFunction3<T1, T2, T3, R>; /** * Creates a function that accepts one or more arguments of func that when called either invokes func returning * its result, if all func arguments have been provided, or returns a function that accepts one or more of the * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. * @param func The function to curry. * @return Returns the new curried function. */ curry<T1, T2, T3, T4, R>(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): CurriedFunction4<T1, T2, T3, T4, R>; /** * Creates a function that accepts one or more arguments of func that when called either invokes func returning * its result, if all func arguments have been provided, or returns a function that accepts one or more of the * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. * @param func The function to curry. * @return Returns the new curried function. */ curry<T1, T2, T3, T4, T5, R>(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): CurriedFunction5<T1, T2, T3, T4, T5, R>; /** * Creates a function that accepts one or more arguments of func that when called either invokes func returning * its result, if all func arguments have been provided, or returns a function that accepts one or more of the * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. * @param func The function to curry. * @param arity The arity of func. * @return Returns the new curried function. */ curry<TResult extends Function>( func: Function, arity?: number): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface CurriedFunction1<T1, R> { (): CurriedFunction1<T1, R>; (t1: T1): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface CurriedFunction2<T1, T2, R> { (): CurriedFunction2<T1, T2, R>; (t1: T1): CurriedFunction1<T2, R>; (t1: T1, t2: T2): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface CurriedFunction3<T1, T2, T3, R> { (): CurriedFunction3<T1, T2, T3, R>; (t1: T1): CurriedFunction2<T2, T3, R>; (t1: T1, t2: T2): CurriedFunction1<T3, R>; (t1: T1, t2: T2, t3: T3): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface CurriedFunction4<T1, T2, T3, T4, R> { (): CurriedFunction4<T1, T2, T3, T4, R>; (t1: T1): CurriedFunction3<T2, T3, T4, R>; (t1: T1, t2: T2): CurriedFunction2<T3, T4, R>; (t1: T1, t2: T2, t3: T3): CurriedFunction1<T4, R>; (t1: T1, t2: T2, t3: T3, t4: T4): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface CurriedFunction5<T1, T2, T3, T4, T5, R> { (): CurriedFunction5<T1, T2, T3, T4, T5, R>; (t1: T1): CurriedFunction4<T2, T3, T4, T5, R>; (t1: T1, t2: T2): CurriedFunction3<T3, T4, T5, R>; (t1: T1, t2: T2, t3: T3): CurriedFunction2<T4, T5, R>; (t1: T1, t2: T2, t3: T3, t4: T4): CurriedFunction1<T5, R>; (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.curry **/ curry<TResult extends Function>(arity?: number): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.curryRight interface LoDashStatic { /** * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight * instead of _.partial. * @param func The function to curry. * @return Returns the new curried function. */ curryRight<T1, R>(func: (t1: T1) => R): CurriedFunction1<T1, R>; /** * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight * instead of _.partial. * @param func The function to curry. * @return Returns the new curried function. */ curryRight<T1, T2, R>(func: (t1: T1, t2: T2) => R): CurriedFunction2<T2, T1, R>; /** * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight * instead of _.partial. * @param func The function to curry. * @return Returns the new curried function. */ curryRight<T1, T2, T3, R>(func: (t1: T1, t2: T2, t3: T3) => R): CurriedFunction3<T3, T2, T1, R>; /** * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight * instead of _.partial. * @param func The function to curry. * @return Returns the new curried function. */ curryRight<T1, T2, T3, T4, R>(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): CurriedFunction4<T4, T3, T2, T1, R>; /** * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight * instead of _.partial. * @param func The function to curry. * @return Returns the new curried function. */ curryRight<T1, T2, T3, T4, T5, R>(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): CurriedFunction5<T5, T4, T3, T2, T1, R>; /** * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight * instead of _.partial. * @param func The function to curry. * @param arity The arity of func. * @return Returns the new curried function. */ curryRight<TResult extends Function>( func: Function, arity?: number): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.curryRight **/ curryRight<TResult extends Function>(arity?: number): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.debounce interface DebounceSettings { /** * Specify invoking on the leading edge of the timeout. */ leading?: boolean; /** * The maximum time func is allowed to be delayed before it’s invoked. */ maxWait?: number; /** * Specify invoking on the trailing edge of the timeout. */ trailing?: boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since * the last time the debounced function was invoked. The debounced function comes with a cancel method to * cancel delayed invocations. Provide an options object to indicate that func should be invoked on the * leading and/or trailing edge of the wait timeout. Subsequent calls to the debounced function return the * result of the last func invocation. * * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only * if the the debounced function is invoked more than once during the wait timeout. * * See David Corbacho’s article for details over the differences between _.debounce and _.throttle. * * @param func The function to debounce. * @param wait The number of milliseconds to delay. * @param options The options object. * @param options.leading Specify invoking on the leading edge of the timeout. * @param options.maxWait The maximum time func is allowed to be delayed before it’s invoked. * @param options.trailing Specify invoking on the trailing edge of the timeout. * @return Returns the new debounced function. */ debounce<T extends Function>( func: T, wait?: number, options?: DebounceSettings ): T & Cancelable; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.debounce */ debounce( wait?: number, options?: DebounceSettings ): LoDashImplicitObjectWrapper<T & Cancelable>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.debounce */ debounce( wait?: number, options?: DebounceSettings ): LoDashExplicitObjectWrapper<T & Cancelable>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.defer interface LoDashStatic { /** * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to * func when it’s invoked. * * @param func The function to defer. * @param args The arguments to invoke the function with. * @return Returns the timer id. */ defer<T extends Function>( func: T, ...args: any[] ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.defer */ defer(...args: any[]): LoDashImplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.defer */ defer(...args: any[]): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.delay interface LoDashStatic { /** * Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked. * * @param func The function to delay. * @param wait The number of milliseconds to delay invocation. * @param args The arguments to invoke the function with. * @return Returns the timer id. */ delay<T extends Function>( func: T, wait: number, ...args: any[] ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.delay */ delay( wait: number, ...args: any[] ): LoDashImplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.delay */ delay( wait: number, ...args: any[] ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * Creates a function that invokes `func` with arguments reversed. * * @static * @memberOf _ * @category Function * @param {Function} func The function to flip arguments for. * @returns {Function} Returns the new function. * @example * * var flipped = _.flip(function() { * return _.toArray(arguments); * }); * * flipped('a', 'b', 'c', 'd'); * // => ['d', 'c', 'b', 'a'] */ flip<T extends Function>(func: T): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.flip */ flip(): LoDashImplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.flip */ flip(): LoDashExplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.flow interface LoDashStatic { /** * Creates a function that returns the result of invoking the provided functions with the this binding of the * created function, where each successive invocation is supplied the return value of the previous. * * @param funcs Functions to invoke. * @return Returns the new function. */ flow<TResult extends Function>(...funcs: Function[]): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.flow */ flow<TResult extends Function>(...funcs: Function[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.flow */ flow<TResult extends Function>(...funcs: Function[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.flowRight interface LoDashStatic { /** * This method is like _.flow except that it creates a function that invokes the provided functions from right * to left. * * @param funcs Functions to invoke. * @return Returns the new function. */ flowRight<TResult extends Function>(...funcs: Function[]): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.flowRight */ flowRight<TResult extends Function>(...funcs: Function[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.flowRight */ flowRight<TResult extends Function>(...funcs: Function[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.memoize interface MemoizedFunction extends Function { cache: MapCache; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for * storing the result based on the arguments provided to the memoized function. By default, the first argument * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with * the this binding of the memoized function. * @param func The function to have its output memoized. * @param resolver The function to resolve the cache key. * @return Returns the new memoizing function. */ memoize: { <T extends Function>(func: T, resolver?: Function): T & MemoizedFunction; Cache: MapCache; } }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.memoize */ memoize(resolver?: Function): LoDashImplicitObjectWrapper<T & MemoizedFunction>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.overArgs (was _.modArgs) interface LoDashStatic { /** * Creates a function that runs each argument through a corresponding transform function. * * @param func The function to wrap. * @param transforms The functions to transform arguments, specified as individual functions or arrays * of functions. * @return Returns the new function. */ overArgs<T extends Function, TResult extends Function>( func: T, ...transforms: Function[] ): TResult; /** * @see _.overArgs */ overArgs<T extends Function, TResult extends Function>( func: T, transforms: Function[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.overArgs */ overArgs<TResult extends Function>(...transforms: Function[]): LoDashImplicitObjectWrapper<TResult>; /** * @see _.overArgs */ overArgs<TResult extends Function>(transforms: Function[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.overArgs */ overArgs<TResult extends Function>(...transforms: Function[]): LoDashExplicitObjectWrapper<TResult>; /** * @see _.overArgs */ overArgs<TResult extends Function>(transforms: Function[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.negate interface LoDashStatic { /** * Creates a function that negates the result of the predicate func. The func predicate is invoked with * the this binding and arguments of the created function. * * @param predicate The predicate to negate. * @return Returns the new function. */ negate<T extends Function>(predicate: T): (...args: any[]) => boolean; /** * @see _.negate */ negate<T extends Function, TResult extends Function>(predicate: T): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.negate */ negate(): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; /** * @see _.negate */ negate<TResult extends Function>(): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.negate */ negate(): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; /** * @see _.negate */ negate<TResult extends Function>(): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.once interface LoDashStatic { /** * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value * of the first call. The func is invoked with the this binding and arguments of the created function. * * @param func The function to restrict. * @return Returns the new restricted function. */ once<T extends Function>(func: T): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.once */ once(): LoDashImplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.once */ once(): LoDashExplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.partial interface LoDashStatic { /** * Creates a function that, when called, invokes func with any additional partial arguments * prepended to those provided to the new function. This method is similar to _.bind except * it does not alter the this binding. * @param func The function to partially apply arguments to. * @param args Arguments to be partially applied. * @return The new partially applied function. **/ partial: Partial; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface Function0<R> { (): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface Function1<T1, R> { (t1: T1): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface Function2<T1, T2, R> { (t1: T1, t2: T2): R; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript