type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
InterfaceDeclaration
//_.toInteger interface LoDashStatic { /** * Converts `value` to an integer. * * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). * * @static * @memberOf _ * @category Lang * @param {*} value The value to convert. * @returns {number} Returns the converted integer. * @example * * _.toInteger(3); * // => 3 * * _.toInteger(Number.MIN_VALUE); * // => 0 * * _.toInteger(Infinity); * // => 1.7976931348623157e+308 * * _.toInteger('3'); * // => 3 */ toInteger(value: any): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.toInteger */ toInteger(): LoDashImplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.toInteger */ toInteger(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.toLength interface LoDashStatic { /** * Converts `value` to an integer suitable for use as the length of an * array-like object. * * **Note:** This method is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). * * @static * @memberOf _ * @category Lang * @param {*} value The value to convert. * @return {number} Returns the converted integer. * @example * * _.toLength(3); * // => 3 * * _.toLength(Number.MIN_VALUE); * // => 0 * * _.toLength(Infinity); * // => 4294967295 * * _.toLength('3'); * // => 3 */ toLength(value: any): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.toLength */ toLength(): LoDashImplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.toLength */ toLength(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.toNumber interface LoDashStatic { /** * Converts `value` to a number. * * @static * @memberOf _ * @category Lang * @param {*} value The value to process. * @returns {number} Returns the number. * @example * * _.toNumber(3); * // => 3 * * _.toNumber(Number.MIN_VALUE); * // => 5e-324 * * _.toNumber(Infinity); * // => Infinity * * _.toNumber('3'); * // => 3 */ toNumber(value: any): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.toNumber */ toNumber(): LoDashImplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.toNumber */ toNumber(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.toSafeInteger interface LoDashStatic { /** * Converts `value` to a safe integer. A safe integer can be compared and * represented correctly. * * @static * @memberOf _ * @category Lang * @param {*} value The value to convert. * @returns {number} Returns the converted integer. * @example * * _.toSafeInteger(3); * // => 3 * * _.toSafeInteger(Number.MIN_VALUE); * // => 0 * * _.toSafeInteger(Infinity); * // => 9007199254740991 * * _.toSafeInteger('3'); * // => 3 */ toSafeInteger(value: any): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.toSafeInteger */ toSafeInteger(): LoDashImplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.toSafeInteger */ toSafeInteger(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.toString DUMMY interface LoDashStatic { /** * Converts `value` to a string if it's not one. An empty string is returned * for `null` and `undefined` values. The sign of `-0` is preserved. * * @static * @memberOf _ * @category Lang * @param {*} value The value to process. * @returns {string} Returns the string. * @example * * _.toString(null); * // => '' * * _.toString(-0); * // => '-0' * * _.toString([1, 2, 3]); * // => '1,2,3' */ toString(value: any): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
/******** * Math * ********/ //_.add interface LoDashStatic { /** * Adds two numbers. * * @param augend The first number to add. * @param addend The second number to add. * @return Returns the sum. */ add( augend: number, addend: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.add */ add(addend: number): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.add */ add(addend: number): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.ceil interface LoDashStatic { /** * Calculates n rounded up to precision. * * @param n The number to round up. * @param precision The precision to round up to. * @return Returns the rounded up number. */ ceil( n: number, precision?: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.ceil */ ceil(precision?: number): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.ceil */ ceil(precision?: number): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.floor interface LoDashStatic { /** * Calculates n rounded down to precision. * * @param n The number to round down. * @param precision The precision to round down to. * @return Returns the rounded down number. */ floor( n: number, precision?: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.floor */ floor(precision?: number): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.floor */ floor(precision?: number): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.max interface LoDashStatic { /** * Computes the maximum value of `array`. If `array` is empty or falsey * `undefined` is returned. * * @static * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @returns {*} Returns the maximum value. */ max<T>( collection: List<T> ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.max */ max(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.max */ max<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.maxBy interface LoDashStatic { /** * This method is like `_.max` except that it accepts `iteratee` which is * invoked for each element in `array` to generate the criterion by which * the value is ranked. The iteratee is invoked with one argument: (value). * * @static * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. * @returns {*} Returns the maximum value. * @example * * var objects = [{ 'n': 1 }, { 'n': 2 }]; * * _.maxBy(objects, function(o) { return o.a; }); * // => { 'n': 2 } * * // using the `_.property` iteratee shorthand * _.maxBy(objects, 'n'); * // => { 'n': 2 } */ maxBy<T>( collection: List<T>, iteratee?: ListIterator<T, any> ): T; /** * @see _.maxBy */ maxBy<T>( collection: Dictionary<T>, iteratee?: DictionaryIterator<T, any> ): T; /** * @see _.maxBy */ maxBy<T>( collection: List<T>|Dictionary<T>, iteratee?: string ): T; /** * @see _.maxBy */ maxBy<TObject extends {}, T>( collection: List<T>|Dictionary<T>, whereValue?: TObject ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.maxBy */ maxBy( iteratee?: ListIterator<T, any> ): T; /** * @see _.maxBy */ maxBy( iteratee?: string ): T; /** * @see _.maxBy */ maxBy<TObject extends {}>( whereValue?: TObject ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.maxBy */ maxBy<T>( iteratee?: ListIterator<T, any>|DictionaryIterator<T, any>, thisArg?: any ): T; /** * @see _.maxBy */ maxBy<T>( iteratee?: string, thisArg?: any ): T; /** * @see _.maxBy */ maxBy<TObject extends {}, T>( whereValue?: TObject ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.mean interface LoDashStatic { /** * Computes the mean of the values in `array`. * * @static * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @returns {number} Returns the mean. * @example * * _.mean([4, 2, 8, 6]); * // => 5 */ mean<T>( collection: List<T> ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.mean */ mean<T>(): number; /** * @see _.mean */ mean(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.min interface LoDashStatic { /** * Computes the minimum value of `array`. If `array` is empty or falsey * `undefined` is returned. * * @static * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @returns {*} Returns the minimum value. */ min<T>( collection: List<T> ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.min */ min(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.min */ min<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.minBy interface LoDashStatic { /** * This method is like `_.min` except that it accepts `iteratee` which is * invoked for each element in `array` to generate the criterion by which * the value is ranked. The iteratee is invoked with one argument: (value). * * @static * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. * @returns {*} Returns the minimum value. * @example * * var objects = [{ 'n': 1 }, { 'n': 2 }]; * * _.minBy(objects, function(o) { return o.a; }); * // => { 'n': 1 } * * // using the `_.property` iteratee shorthand * _.minBy(objects, 'n'); * // => { 'n': 1 } */ minBy<T>( collection: List<T>, iteratee?: ListIterator<T, any> ): T; /** * @see _.minBy */ minBy<T>( collection: Dictionary<T>, iteratee?: DictionaryIterator<T, any> ): T; /** * @see _.minBy */ minBy<T>( collection: List<T>|Dictionary<T>, iteratee?: string ): T; /** * @see _.minBy */ minBy<TObject extends {}, T>( collection: List<T>|Dictionary<T>, whereValue?: TObject ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.minBy */ minBy( iteratee?: ListIterator<T, any> ): T; /** * @see _.minBy */ minBy( iteratee?: string ): T; /** * @see _.minBy */ minBy<TObject extends {}>( whereValue?: TObject ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.minBy */ minBy<T>( iteratee?: ListIterator<T, any>|DictionaryIterator<T, any>, thisArg?: any ): T; /** * @see _.minBy */ minBy<T>( iteratee?: string, thisArg?: any ): T; /** * @see _.minBy */ minBy<TObject extends {}, T>( whereValue?: TObject ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.round interface LoDashStatic { /** * Calculates n rounded to precision. * * @param n The number to round. * @param precision The precision to round to. * @return Returns the rounded number. */ round( n: number, precision?: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.round */ round(precision?: number): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.round */ round(precision?: number): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.sum interface LoDashStatic { /** * Computes the sum of the values in `array`. * * @static * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @returns {number} Returns the sum. * @example * * _.sum([4, 2, 8, 6]); * // => 20 */ sum<T>(collection: List<T>): number; /** * @see _.sum */ sum(collection: List<number>|Dictionary<number>): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.sum */ sum(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.sum **/ sum<TValue>(): number; /** * @see _.sum */ sum(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.sum */ sum(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.sum */ sum<TValue>(): LoDashExplicitWrapper<number>; /** * @see _.sum */ sum(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.sumBy interface LoDashStatic { /** * This method is like `_.sum` except that it accepts `iteratee` which is * invoked for each element in `array` to generate the value to be summed. * The iteratee is invoked with one argument: (value). * * @static * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. * @returns {number} Returns the sum. * @example * * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }]; * * _.sumBy(objects, function(o) { return o.n; }); * // => 20 * * // using the `_.property` iteratee shorthand * _.sumBy(objects, 'n'); * // => 20 */ sumBy<T>( collection: List<T>, iteratee: ListIterator<T, number> ): number; /** * @see _.sumBy **/ sumBy<T>( collection: Dictionary<T>, iteratee: DictionaryIterator<T, number> ): number; /** * @see _.sumBy */ sumBy<T>( collection: List<number>|Dictionary<number>, iteratee: string ): number; /** * @see _.sumBy */ sumBy<T>(collection: List<T>|Dictionary<T>): number; /** * @see _.sumBy */ sumBy(collection: List<number>|Dictionary<number>): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.sumBy */ sumBy( iteratee: ListIterator<T, number> ): number; /** * @see _.sumBy */ sumBy(iteratee: string): number; /** * @see _.sumBy */ sumBy(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.sumBy **/ sumBy<TValue>( iteratee: ListIterator<TValue, number>|DictionaryIterator<TValue, number> ): number; /** * @see _.sumBy */ sumBy(iteratee: string): number; /** * @see _.sumBy */ sumBy(): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.sumBy */ sumBy( iteratee: ListIterator<T, number> ): LoDashExplicitWrapper<number>; /** * @see _.sumBy */ sumBy(iteratee: string): LoDashExplicitWrapper<number>; /** * @see _.sumBy */ sumBy(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.sumBy */ sumBy<TValue>( iteratee: ListIterator<TValue, number>|DictionaryIterator<TValue, number> ): LoDashExplicitWrapper<number>; /** * @see _.sumBy */ sumBy(iteratee: string): LoDashExplicitWrapper<number>; /** * @see _.sumBy */ sumBy(): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
/********** * Number * **********/ //_.subtract interface LoDashStatic { /** * Subtract two numbers. * * @static * @memberOf _ * @category Math * @param {number} minuend The first number in a subtraction. * @param {number} subtrahend The second number in a subtraction. * @returns {number} Returns the difference. * @example * * _.subtract(6, 4); * // => 2 */ subtract( minuend: number, subtrahend: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.subtract */ subtract( subtrahend: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.subtract */ subtract( subtrahend: number ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.clamp interface LoDashStatic { /** * Clamps `number` within the inclusive `lower` and `upper` bounds. * * @static * @memberOf _ * @category Number * @param {number} number The number to clamp. * @param {number} [lower] The lower bound. * @param {number} upper The upper bound. * @returns {number} Returns the clamped number. * @example * * _.clamp(-10, -5, 5); * // => -5 * * _.clamp(10, -5, 5); * // => 5 */ clamp( number: number, lower: number, upper: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.clamp */ clamp( lower: number, upper: number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.clamp */ clamp( lower: number, upper: number ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.inRange interface LoDashStatic { /** * Checks if n is between start and up to but not including, end. If end is not specified it’s set to start * with start then set to 0. * * @param n The number to check. * @param start The start of the range. * @param end The end of the range. * @return Returns true if n is in the range, else false. */ inRange( n: number, start: number, end: number ): boolean; /** * @see _.inRange */ inRange( n: number, end: number ): boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.inRange */ inRange( start: number, end: number ): boolean; /** * @see _.inRange */ inRange(end: number): boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.inRange */ inRange( start: number, end: number ): LoDashExplicitWrapper<boolean>; /** * @see _.inRange */ inRange(end: number): LoDashExplicitWrapper<boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.random interface LoDashStatic { /** * Produces a random number between min and max (inclusive). If only one argument is provided a number between * 0 and the given number is returned. If floating is true, or either min or max are floats, a floating-point * number is returned instead of an integer. * * @param min The minimum possible value. * @param max The maximum possible value. * @param floating Specify returning a floating-point number. * @return Returns the random number. */ random( min?: number, max?: number, floating?: boolean ): number; /** * @see _.random */ random( min?: number, floating?: boolean ): number; /** * @see _.random */ random(floating?: boolean): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.random */ random( max?: number, floating?: boolean ): number; /** * @see _.random */ random(floating?: boolean): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.random */ random( max?: number, floating?: boolean ): LoDashExplicitWrapper<number>; /** * @see _.random */ random(floating?: boolean): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
/********** * Object * **********/ //_.assign interface LoDashStatic { /** * Assigns own enumerable properties of source objects to the destination * object. Source objects are applied from left to right. Subsequent sources * overwrite property assignments of previous sources. * * **Note:** This method mutates `object` and is loosely based on * [`Object.assign`](https://mdn.io/Object/assign). * * @static * @memberOf _ * @category Object * @param {Object} object The destination object. * @param {...Object} [sources] The source objects. * @returns {Object} Returns `object`. * @example * * function Foo() { * this.c = 3; * } * * function Bar() { * this.e = 5; * } * * Foo.prototype.d = 4; * Bar.prototype.f = 6; * * _.assign({ 'a': 1 }, new Foo, new Bar); * // => { 'a': 1, 'c': 3, 'e': 5 } */ assign<TObject extends {}, TSource extends {}, TResult extends {}>( object: TObject, source: TSource ): TResult; /** * @see assign */ assign<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2 ): TResult; /** * @see assign */ assign<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3 ): TResult; /** * @see assign */ assign<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}> ( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4 ): TResult; /** * @see _.assign */ assign<TObject extends {}>(object: TObject): TObject; /** * @see _.assign */ assign<TObject extends {}, TResult extends {}>( object: TObject, ...otherArgs: any[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.assign */ assign<TSource extends {}, TResult extends {}>( source: TSource ): LoDashImplicitObjectWrapper<TResult>; /** * @see assign */ assign<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2 ): LoDashImplicitObjectWrapper<TResult>; /** * @see assign */ assign<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3 ): LoDashImplicitObjectWrapper<TResult>; /** * @see assign */ assign<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4 ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.assign */ assign(): LoDashImplicitObjectWrapper<T>; /** * @see _.assign */ assign<TResult extends {}>(...otherArgs: any[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.assign */ assign<TSource extends {}, TResult extends {}>( source: TSource ): LoDashExplicitObjectWrapper<TResult>; /** * @see assign */ assign<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2 ): LoDashExplicitObjectWrapper<TResult>; /** * @see assign */ assign<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3 ): LoDashExplicitObjectWrapper<TResult>; /** * @see assign */ assign<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4 ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.assign */ assign(): LoDashExplicitObjectWrapper<T>; /** * @see _.assign */ assign<TResult extends {}>(...otherArgs: any[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.assignWith interface AssignCustomizer { (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}): any; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * This method is like `_.assign` except that it accepts `customizer` which * is invoked to produce the assigned values. If `customizer` returns `undefined` * assignment is handled by the method instead. The `customizer` is invoked * with five arguments: (objValue, srcValue, key, object, source). * * **Note:** This method mutates `object`. * * @static * @memberOf _ * @category Object * @param {Object} object The destination object. * @param {...Object} sources The source objects. * @param {Function} [customizer] The function to customize assigned values. * @returns {Object} Returns `object`. * @example * * function customizer(objValue, srcValue) { * return _.isUndefined(objValue) ? srcValue : objValue; * } * * var defaults = _.partialRight(_.assignWith, customizer); * * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); * // => { 'a': 1, 'b': 2 } */ assignWith<TObject extends {}, TSource extends {}, TResult extends {}>( object: TObject, source: TSource, customizer: AssignCustomizer ): TResult; /** * @see assignWith */ assignWith<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, customizer: AssignCustomizer ): TResult; /** * @see assignWith */ assignWith<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer ): TResult; /** * @see assignWith */ assignWith<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}> ( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer ): TResult; /** * @see _.assignWith */ assignWith<TObject extends {}>(object: TObject): TObject; /** * @see _.assignWith */ assignWith<TObject extends {}, TResult extends {}>( object: TObject, ...otherArgs: any[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.assignWith */ assignWith<TSource extends {}, TResult extends {}>( source: TSource, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignWith */ assignWith<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignWith */ assignWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignWith */ assignWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.assignWith */ assignWith(): LoDashImplicitObjectWrapper<T>; /** * @see _.assignWith */ assignWith<TResult extends {}>(...otherArgs: any[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.assignWith */ assignWith<TSource extends {}, TResult extends {}>( source: TSource, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignWith */ assignWith<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignWith */ assignWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignWith */ assignWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.assignWith */ assignWith(): LoDashExplicitObjectWrapper<T>; /** * @see _.assignWith */ assignWith<TResult extends {}>(...otherArgs: any[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.assignIn interface LoDashStatic { /** * This method is like `_.assign` except that it iterates over own and * inherited source properties. * * **Note:** This method mutates `object`. * * @static * @memberOf _ * @alias extend * @category Object * @param {Object} object The destination object. * @param {...Object} [sources] The source objects. * @returns {Object} Returns `object`. * @example * * function Foo() { * this.b = 2; * } * * function Bar() { * this.d = 4; * } * * Foo.prototype.c = 3; * Bar.prototype.e = 5; * * _.assignIn({ 'a': 1 }, new Foo, new Bar); * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5 } */ assignIn<TObject extends {}, TSource extends {}, TResult extends {}>( object: TObject, source: TSource ): TResult; /** * @see assignIn */ assignIn<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2 ): TResult; /** * @see assignIn */ assignIn<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3 ): TResult; /** * @see assignIn */ assignIn<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}> ( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4 ): TResult; /** * @see _.assignIn */ assignIn<TObject extends {}>(object: TObject): TObject; /** * @see _.assignIn */ assignIn<TObject extends {}, TResult extends {}>( object: TObject, ...otherArgs: any[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.assignIn */ assignIn<TSource extends {}, TResult extends {}>( source: TSource ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignIn */ assignIn<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2 ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignIn */ assignIn<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3 ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignIn */ assignIn<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4 ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.assignIn */ assignIn(): LoDashImplicitObjectWrapper<T>; /** * @see _.assignIn */ assignIn<TResult extends {}>(...otherArgs: any[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.assignIn */ assignIn<TSource extends {}, TResult extends {}>( source: TSource ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignIn */ assignIn<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2 ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignIn */ assignIn<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3 ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignIn */ assignIn<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4 ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.assignIn */ assignIn(): LoDashExplicitObjectWrapper<T>; /** * @see _.assignIn */ assignIn<TResult extends {}>(...otherArgs: any[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.assignInWith interface AssignCustomizer { (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}): any; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * This method is like `_.assignIn` except that it accepts `customizer` which * is invoked to produce the assigned values. If `customizer` returns `undefined` * assignment is handled by the method instead. The `customizer` is invoked * with five arguments: (objValue, srcValue, key, object, source). * * **Note:** This method mutates `object`. * * @static * @memberOf _ * @alias extendWith * @category Object * @param {Object} object The destination object. * @param {...Object} sources The source objects. * @param {Function} [customizer] The function to customize assigned values. * @returns {Object} Returns `object`. * @example * * function customizer(objValue, srcValue) { * return _.isUndefined(objValue) ? srcValue : objValue; * } * * var defaults = _.partialRight(_.assignInWith, customizer); * * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); * // => { 'a': 1, 'b': 2 } */ assignInWith<TObject extends {}, TSource extends {}, TResult extends {}>( object: TObject, source: TSource, customizer: AssignCustomizer ): TResult; /** * @see assignInWith */ assignInWith<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, customizer: AssignCustomizer ): TResult; /** * @see assignInWith */ assignInWith<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer ): TResult; /** * @see assignInWith */ assignInWith<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}> ( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer ): TResult; /** * @see _.assignInWith */ assignInWith<TObject extends {}>(object: TObject): TObject; /** * @see _.assignInWith */ assignInWith<TObject extends {}, TResult extends {}>( object: TObject, ...otherArgs: any[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.assignInWith */ assignInWith<TSource extends {}, TResult extends {}>( source: TSource, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignInWith */ assignInWith<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignInWith */ assignInWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see assignInWith */ assignInWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.assignInWith */ assignInWith(): LoDashImplicitObjectWrapper<T>; /** * @see _.assignInWith */ assignInWith<TResult extends {}>(...otherArgs: any[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.assignInWith */ assignInWith<TSource extends {}, TResult extends {}>( source: TSource, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignInWith */ assignInWith<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignInWith */ assignInWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see assignInWith */ assignInWith<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.assignInWith */ assignInWith(): LoDashExplicitObjectWrapper<T>; /** * @see _.assignInWith */ assignInWith<TResult extends {}>(...otherArgs: any[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.create interface LoDashStatic { /** * Creates an object that inherits from the given prototype object. If a properties object is provided its own * enumerable properties are assigned to the created object. * * @param prototype The object to inherit from. * @param properties The properties to assign to the object. * @return Returns the new object. */ create<T extends Object, U extends Object>( prototype: T, properties?: U ): T & U; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.create */ create<U extends Object>(properties?: U): LoDashImplicitObjectWrapper<T & U>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.create */ create<U extends Object>(properties?: U): LoDashExplicitObjectWrapper<T & U>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.defaults interface LoDashStatic { /** * Assigns own enumerable properties of source object(s) to the destination object for all destination * properties that resolve to undefined. Once a property is set, additional values of the same property are * ignored. * * Note: This method mutates object. * * @param object The destination object. * @param sources The source objects. * @return The destination object. */ defaults<Obj extends {}, TResult extends {}>( object: Obj, ...sources: {}[] ): TResult; /** * @see _.defaults */ defaults<Obj extends {}, S1 extends {}, TResult extends {}>( object: Obj, source1: S1, ...sources: {}[] ): TResult; /** * @see _.defaults */ defaults<Obj extends {}, S1 extends {}, S2 extends {}, TResult extends {}>( object: Obj, source1: S1, source2: S2, ...sources: {}[] ): TResult; /** * @see _.defaults */ defaults<Obj extends {}, S1 extends {}, S2 extends {}, S3 extends {}, TResult extends {}>( object: Obj, source1: S1, source2: S2, source3: S3, ...sources: {}[] ): TResult; /** * @see _.defaults */ defaults<Obj extends {}, S1 extends {}, S2 extends {}, S3 extends {}, S4 extends {}, TResult extends {}>( object: Obj, source1: S1, source2: S2, source3: S3, source4: S4, ...sources: {}[] ): TResult; /** * @see _.defaults */ defaults<TResult extends {}>( object: {}, ...sources: {}[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.defaults */ defaults<S1 extends {}, TResult extends {}>( source1: S1, ...sources: {}[] ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults<S1 extends {}, S2 extends {}, TResult extends {}>( source1: S1, source2: S2, ...sources: {}[] ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults<S1 extends {}, S2 extends {}, S3 extends {}, TResult extends {}>( source1: S1, source2: S2, source3: S3, ...sources: {}[] ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults<S1 extends {}, S2 extends {}, S3 extends {}, S4 extends {}, TResult extends {}>( source1: S1, source2: S2, source3: S3, source4: S4, ...sources: {}[] ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults(): LoDashImplicitObjectWrapper<T>; /** * @see _.defaults */ defaults<TResult>(...sources: {}[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.defaults */ defaults<S1 extends {}, TResult extends {}>( source1: S1, ...sources: {}[] ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults<S1 extends {}, S2 extends {}, TResult extends {}>( source1: S1, source2: S2, ...sources: {}[] ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults<S1 extends {}, S2 extends {}, S3 extends {}, TResult extends {}>( source1: S1, source2: S2, source3: S3, ...sources: {}[] ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults<S1 extends {}, S2 extends {}, S3 extends {}, S4 extends {}, TResult extends {}>( source1: S1, source2: S2, source3: S3, source4: S4, ...sources: {}[] ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.defaults */ defaults(): LoDashExplicitObjectWrapper<T>; /** * @see _.defaults */ defaults<TResult>(...sources: {}[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.defaultsDeep interface LoDashStatic { /** * This method is like _.defaults except that it recursively assigns default properties. * @param object The destination object. * @param sources The source objects. * @return Returns object. **/ defaultsDeep<T, TResult>( object: T, ...sources: any[]): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.defaultsDeep **/ defaultsDeep<TResult>(...sources: any[]): LoDashImplicitObjectWrapper<TResult> }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.extend interface LoDashStatic { /** * @see assign */ extend<TObject extends {}, TSource extends {}, TResult extends {}>( object: TObject, source: TSource, customizer?: AssignCustomizer, thisArg?: any ): TResult; /** * @see assign */ extend<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, customizer?: AssignCustomizer, thisArg?: any ): TResult; /** * @see assign */ extend<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer?: AssignCustomizer, thisArg?: any ): TResult; /** * @see assign */ extend<TObject extends {}, TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}> ( object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer?: AssignCustomizer, thisArg?: any ): TResult; /** * @see _.assign */ extend<TObject extends {}>(object: TObject): TObject; /** * @see _.assign */ extend<TObject extends {}, TResult extends {}>( object: TObject, ...otherArgs: any[] ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.assign */ extend<TSource extends {}, TResult extends {}>( source: TSource, customizer?: AssignCustomizer, thisArg?: any ): LoDashImplicitObjectWrapper<TResult>; /** * @see assign */ extend<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, customizer?: AssignCustomizer, thisArg?: any ): LoDashImplicitObjectWrapper<TResult>; /** * @see assign */ extend<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, customizer?: AssignCustomizer, thisArg?: any ): LoDashImplicitObjectWrapper<TResult>; /** * @see assign */ extend<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer?: AssignCustomizer, thisArg?: any ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.assign */ extend(): LoDashImplicitObjectWrapper<T>; /** * @see _.assign */ extend<TResult extends {}>(...otherArgs: any[]): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.assign */ extend<TSource extends {}, TResult extends {}>( source: TSource, customizer?: AssignCustomizer, thisArg?: any ): LoDashExplicitObjectWrapper<TResult>; /** * @see assign */ extend<TSource1 extends {}, TSource2 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, customizer?: AssignCustomizer, thisArg?: any ): LoDashExplicitObjectWrapper<TResult>; /** * @see assign */ extend<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, customizer?: AssignCustomizer, thisArg?: any ): LoDashExplicitObjectWrapper<TResult>; /** * @see assign */ extend<TSource1 extends {}, TSource2 extends {}, TSource3 extends {}, TSource4 extends {}, TResult extends {}>( source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer?: AssignCustomizer, thisArg?: any ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.assign */ extend(): LoDashExplicitObjectWrapper<T>; /** * @see _.assign */ extend<TResult extends {}>(...otherArgs: any[]): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.findKey interface LoDashStatic { /** * This method is like _.find except that it returns the key of the first element predicate returns truthy for * instead of the element itself. * * If a property name is provided for predicate the created _.property style callback returns the property * value of the given element. * * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for * elements that have a matching property value, else false. * * If an object is provided for predicate the created _.matches style callback returns true for elements that * have the properties of the given object, else false. * * @param object The object to search. * @param predicate The function invoked per iteration. * @param thisArg The this binding of predicate. * @return Returns the key of the matched element, else undefined. */ findKey<TValues, TObject>( object: TObject, predicate?: DictionaryIterator<TValues, boolean>, thisArg?: any ): string; /** * @see _.findKey */ findKey<TObject>( object: TObject, predicate?: ObjectIterator<any, boolean>, thisArg?: any ): string; /** * @see _.findKey */ findKey<TObject>( object: TObject, predicate?: string, thisArg?: any ): string; /** * @see _.findKey */ findKey<TWhere extends Dictionary<any>, TObject>( object: TObject, predicate?: TWhere ): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.findKey */ findKey<TValues>( predicate?: DictionaryIterator<TValues, boolean>, thisArg?: any ): string; /** * @see _.findKey */ findKey( predicate?: ObjectIterator<any, boolean>, thisArg?: any ): string; /** * @see _.findKey */ findKey( predicate?: string, thisArg?: any ): string; /** * @see _.findKey */ findKey<TWhere extends Dictionary<any>>( predicate?: TWhere ): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.findKey */ findKey<TValues>( predicate?: DictionaryIterator<TValues, boolean>, thisArg?: any ): LoDashExplicitWrapper<string>; /** * @see _.findKey */ findKey( predicate?: ObjectIterator<any, boolean>, thisArg?: any ): LoDashExplicitWrapper<string>; /** * @see _.findKey */ findKey( predicate?: string, thisArg?: any ): LoDashExplicitWrapper<string>; /** * @see _.findKey */ findKey<TWhere extends Dictionary<any>>( predicate?: TWhere ): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.findLastKey interface LoDashStatic { /** * This method is like _.findKey except that it iterates over elements of a collection in the opposite order. * * If a property name is provided for predicate the created _.property style callback returns the property * value of the given element. * * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for * elements that have a matching property value, else false. * * If an object is provided for predicate the created _.matches style callback returns true for elements that * have the properties of the given object, else false. * * @param object The object to search. * @param predicate The function invoked per iteration. * @param thisArg The this binding of predicate. * @return Returns the key of the matched element, else undefined. */ findLastKey<TValues, TObject>( object: TObject, predicate?: DictionaryIterator<TValues, boolean>, thisArg?: any ): string; /** * @see _.findLastKey */ findLastKey<TObject>( object: TObject, predicate?: ObjectIterator<any, boolean>, thisArg?: any ): string; /** * @see _.findLastKey */ findLastKey<TObject>( object: TObject, predicate?: string, thisArg?: any ): string; /** * @see _.findLastKey */ findLastKey<TWhere extends Dictionary<any>, TObject>( object: TObject, predicate?: TWhere ): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.findLastKey */ findLastKey<TValues>( predicate?: DictionaryIterator<TValues, boolean>, thisArg?: any ): string; /** * @see _.findLastKey */ findLastKey( predicate?: ObjectIterator<any, boolean>, thisArg?: any ): string; /** * @see _.findLastKey */ findLastKey( predicate?: string, thisArg?: any ): string; /** * @see _.findLastKey */ findLastKey<TWhere extends Dictionary<any>>( predicate?: TWhere ): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.findLastKey */ findLastKey<TValues>( predicate?: DictionaryIterator<TValues, boolean>, thisArg?: any ): LoDashExplicitWrapper<string>; /** * @see _.findLastKey */ findLastKey( predicate?: ObjectIterator<any, boolean>, thisArg?: any ): LoDashExplicitWrapper<string>; /** * @see _.findLastKey */ findLastKey( predicate?: string, thisArg?: any ): LoDashExplicitWrapper<string>; /** * @see _.findLastKey */ findLastKey<TWhere extends Dictionary<any>>( predicate?: TWhere ): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.forIn interface LoDashStatic { /** * Iterates over own and inherited enumerable properties of an object invoking iteratee for each property. The * iteratee is bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may * exit iteration early by explicitly returning false. * * @param object The object to iterate over. * @param iteratee The function invoked per iteration. * @param thisArg The this binding of iteratee. * @return Returns object. */ forIn<T>( object: Dictionary<T>, iteratee?: DictionaryIterator<T, any>, thisArg?: any ): Dictionary<T>; /** * @see _.forIn */ forIn<T extends {}>( object: T, iteratee?: ObjectIterator<any, any>, thisArg?: any ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.forIn */ forIn<TValue>( iteratee?: DictionaryIterator<TValue, any>, thisArg?: any ): _.LoDashImplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.forIn */ forIn<TValue>( iteratee?: DictionaryIterator<TValue, any>, thisArg?: any ): _.LoDashExplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.forInRight interface LoDashStatic { /** * This method is like _.forIn except that it iterates over properties of object in the opposite order. * * @param object The object to iterate over. * @param iteratee The function invoked per iteration. * @param thisArg The this binding of iteratee. * @return Returns object. */ forInRight<T>( object: Dictionary<T>, iteratee?: DictionaryIterator<T, any>, thisArg?: any ): Dictionary<T>; /** * @see _.forInRight */ forInRight<T extends {}>( object: T, iteratee?: ObjectIterator<any, any>, thisArg?: any ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.forInRight */ forInRight<TValue>( iteratee?: DictionaryIterator<TValue, any>, thisArg?: any ): _.LoDashImplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.forInRight */ forInRight<TValue>( iteratee?: DictionaryIterator<TValue, any>, thisArg?: any ): _.LoDashExplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.forOwn interface LoDashStatic { /** * Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is * bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may exit * iteration early by explicitly returning false. * * @param object The object to iterate over. * @param iteratee The function invoked per iteration. * @param thisArg The this binding of iteratee. * @return Returns object. */ forOwn<T>( object: Dictionary<T>, iteratee?: DictionaryIterator<T, any>, thisArg?: any ): Dictionary<T>; /** * @see _.forOwn */ forOwn<T extends {}>( object: T, iteratee?: ObjectIterator<any, any>, thisArg?: any ): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.forOwn */ forOwn<TValue>( iteratee?: DictionaryIterator<TValue, any>, thisArg?: any ): _.LoDashImplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript