type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.constant */ constant<TResult>(): LoDashExplicitObjectWrapper<() => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.identity interface LoDashStatic { /** * This method returns the first argument provided to it. * * @param value Any value. * @return Returns value. */ identity<T>(value?: T): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.identity */ identity(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.identity */ identity(): T[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.identity */ identity(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.identity */ identity(): LoDashExplicitWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.identity */ identity(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.identity */ identity(): LoDashExplicitObjectWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.iteratee interface LoDashStatic { /** * Creates a function that invokes `func` with the arguments of the created * function. If `func` is a property name the created callback returns the * property value for a given element. If `func` is an object the created * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`. * * @static * @memberOf _ * @category Util * @param {*} [func=_.identity] The value to convert to a callback. * @returns {Function} Returns the callback. * @example * * var users = [ * { 'user': 'barney', 'age': 36 }, * { 'user': 'fred', 'age': 40 } * ]; * * // create custom iteratee shorthands * _.iteratee = _.wrap(_.iteratee, function(callback, func) { * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func); * return !p ? callback(func) : function(object) { * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]); * }; * }); * * _.filter(users, 'age > 36'); * // => [{ 'user': 'fred', 'age': 40 }] */ iteratee<TResult>( func: Function, thisArg?: any ): (...args: any[]) => TResult; /** * @see _.iteratee */ iteratee<TResult>( func: string, thisArg?: any ): (object: any) => TResult; /** * @see _.iteratee */ iteratee( func: Object, thisArg?: any ): (object: any) => boolean; /** * @see _.iteratee */ iteratee<TResult>(): (value: TResult) => TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.iteratee */ iteratee<TResult>(thisArg?: any): LoDashImplicitObjectWrapper<(object: any) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.iteratee */ iteratee(thisArg?: any): LoDashImplicitObjectWrapper<(object: any) => boolean>; /** * @see _.iteratee */ iteratee<TResult>(thisArg?: any): LoDashImplicitObjectWrapper<(...args: any[]) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.iteratee */ iteratee<TResult>(thisArg?: any): LoDashExplicitObjectWrapper<(object: any) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.iteratee */ iteratee(thisArg?: any): LoDashExplicitObjectWrapper<(object: any) => boolean>; /** * @see _.iteratee */ iteratee<TResult>(thisArg?: any): LoDashExplicitObjectWrapper<(...args: any[]) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.matches interface LoDashStatic { /** * Creates a function that performs a deep comparison between a given object and source, returning true if the * given object has equivalent property values, else false. * * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own * or inherited property value see _.matchesProperty. * * @param source The object of property values to match. * @return Returns the new function. */ matches<T>(source: T): (value: any) => boolean; /** * @see _.matches */ matches<T, V>(source: T): (value: V) => boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.matches */ matches<V>(): LoDashImplicitObjectWrapper<(value: V) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.matches */ matches<V>(): LoDashExplicitObjectWrapper<(value: V) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.matchesProperty interface LoDashStatic { /** * Creates a function that compares the property value of path on a given object to value. * * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and * strings. Objects are compared by their own, not inherited, enumerable properties. * * @param path The path of the property to get. * @param srcValue The value to match. * @return Returns the new function. */ matchesProperty<T>( path: StringRepresentable|StringRepresentable[], srcValue: T ): (value: any) => boolean; /** * @see _.matchesProperty */ matchesProperty<T, V>( path: StringRepresentable|StringRepresentable[], srcValue: T ): (value: V) => boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.matchesProperty */ matchesProperty<SrcValue>( srcValue: SrcValue ): LoDashImplicitObjectWrapper<(value: any) => boolean>; /** * @see _.matchesProperty */ matchesProperty<SrcValue, Value>( srcValue: SrcValue ): LoDashImplicitObjectWrapper<(value: Value) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.matchesProperty */ matchesProperty<SrcValue>( srcValue: SrcValue ): LoDashExplicitObjectWrapper<(value: any) => boolean>; /** * @see _.matchesProperty */ matchesProperty<SrcValue, Value>( srcValue: SrcValue ): LoDashExplicitObjectWrapper<(value: Value) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.method interface LoDashStatic { /** * Creates a function that invokes the method at path on a given object. Any additional arguments are provided * to the invoked method. * * @param path The path of the method to invoke. * @param args The arguments to invoke the method with. * @return Returns the new function. */ method<TObject, TResult>( path: string|StringRepresentable[], ...args: any[] ): (object: TObject) => TResult; /** * @see _.method */ method<TResult>( path: string|StringRepresentable[], ...args: any[] ): (object: any) => TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.method */ method<TObject, TResult>(...args: any[]): LoDashImplicitObjectWrapper<(object: TObject) => TResult>; /** * @see _.method */ method<TResult>(...args: any[]): LoDashImplicitObjectWrapper<(object: any) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.method */ method<TObject, TResult>(...args: any[]): LoDashImplicitObjectWrapper<(object: TObject) => TResult>; /** * @see _.method */ method<TResult>(...args: any[]): LoDashImplicitObjectWrapper<(object: any) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.method */ method<TObject, TResult>(...args: any[]): LoDashExplicitObjectWrapper<(object: TObject) => TResult>; /** * @see _.method */ method<TResult>(...args: any[]): LoDashExplicitObjectWrapper<(object: any) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.method */ method<TObject, TResult>(...args: any[]): LoDashExplicitObjectWrapper<(object: TObject) => TResult>; /** * @see _.method */ method<TResult>(...args: any[]): LoDashExplicitObjectWrapper<(object: any) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.methodOf interface LoDashStatic { /** * The opposite of _.method; this method creates a function that invokes the method at a given path on object. * Any additional arguments are provided to the invoked method. * * @param object The object to query. * @param args The arguments to invoke the method with. * @return Returns the new function. */ methodOf<TObject extends {}, TResult>( object: TObject, ...args: any[] ): (path: StringRepresentable|StringRepresentable[]) => TResult; /** * @see _.methodOf */ methodOf<TResult>( object: {}, ...args: any[] ): (path: StringRepresentable|StringRepresentable[]) => TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.methodOf */ methodOf<TResult>( ...args: any[] ): LoDashImplicitObjectWrapper<(path: StringRepresentable|StringRepresentable[]) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.methodOf */ methodOf<TResult>( ...args: any[] ): LoDashExplicitObjectWrapper<(path: StringRepresentable|StringRepresentable[]) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.mixin interface MixinOptions { chain?: boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashStatic { /** * Adds all own enumerable function properties of a source object to the destination object. If object is a * function then methods are added to its prototype as well. * * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying * the original. * * @param object The destination object. * @param source The object of functions to add. * @param options The options object. * @param options.chain Specify whether the functions added are chainable. * @return Returns object. */ mixin<TResult, TObject>( object: TObject, source: Dictionary<Function>, options?: MixinOptions ): TResult; /** * @see _.mixin */ mixin<TResult>( source: Dictionary<Function>, options?: MixinOptions ): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.mixin */ mixin<TResult>( source: Dictionary<Function>, options?: MixinOptions ): LoDashImplicitObjectWrapper<TResult>; /** * @see _.mixin */ mixin<TResult>( options?: MixinOptions ): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.mixin */ mixin<TResult>( source: Dictionary<Function>, options?: MixinOptions ): LoDashExplicitObjectWrapper<TResult>; /** * @see _.mixin */ mixin<TResult>( options?: MixinOptions ): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.noConflict interface LoDashStatic { /** * Reverts the _ variable to its previous value and returns a reference to the lodash function. * * @return Returns the lodash function. */ noConflict(): typeof _; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.noConflict */ noConflict(): typeof _; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.noop interface LoDashStatic { /** * A no-operation function that returns undefined regardless of the arguments it receives. * * @return undefined */ noop(...args: any[]): void; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.noop */ noop(...args: any[]): void; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.noop */ noop(...args: any[]): _.LoDashExplicitWrapper<void>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.nthArg interface LoDashStatic { /** * Creates a function that returns its nth argument. * * @param n The index of the argument to return. * @return Returns the new function. */ nthArg<TResult extends Function>(n?: number): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.nthArg */ nthArg<TResult extends Function>(): LoDashImplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.nthArg */ nthArg<TResult extends Function>(): LoDashExplicitObjectWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.over interface LoDashStatic { /** * Creates a function that invokes iteratees with the arguments provided to the created function and returns * their results. * * @param iteratees The iteratees to invoke. * @return Returns the new function. */ over<TResult>(...iteratees: (Function|Function[])[]): (...args: any[]) => TResult[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.over */ over<TResult>(...iteratees: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => TResult[]>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.over */ over<TResult>(...iteratees: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => TResult[]>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.over */ over<TResult>(...iteratees: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => TResult[]>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.over */ over<TResult>(...iteratees: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => TResult[]>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.overEvery interface LoDashStatic { /** * Creates a function that checks if all of the predicates return truthy when invoked with the arguments * provided to the created function. * * @param predicates The predicates to check. * @return Returns the new function. */ overEvery(...predicates: (Function|Function[])[]): (...args: any[]) => boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.overEvery */ overEvery(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.overEvery */ overEvery(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.overEvery */ overEvery(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.overEvery */ overEvery(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.overSome interface LoDashStatic { /** * Creates a function that checks if any of the predicates return truthy when invoked with the arguments * provided to the created function. * * @param predicates The predicates to check. * @return Returns the new function. */ overSome(...predicates: (Function|Function[])[]): (...args: any[]) => boolean; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.overSome */ overSome(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.overSome */ overSome(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.overSome */ overSome(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.overSome */ overSome(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.property interface LoDashStatic { /** * Creates a function that returns the property value at path on a given object. * * @param path The path of the property to get. * @return Returns the new function. */ property<TObj, TResult>(path: StringRepresentable|StringRepresentable[]): (obj: TObj) => TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.property */ property<TObj, TResult>(): LoDashImplicitObjectWrapper<(obj: TObj) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.property */ property<TObj, TResult>(): LoDashImplicitObjectWrapper<(obj: TObj) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.property */ property<TObj, TResult>(): LoDashExplicitObjectWrapper<(obj: TObj) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.property */ property<TObj, TResult>(): LoDashExplicitObjectWrapper<(obj: TObj) => TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.propertyOf interface LoDashStatic { /** * The opposite of _.property; this method creates a function that returns the property value at a given path * on object. * * @param object The object to query. * @return Returns the new function. */ propertyOf<T extends {}>(object: T): (path: string|string[]) => any; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.propertyOf */ propertyOf(): LoDashImplicitObjectWrapper<(path: string|string[]) => any>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.propertyOf */ propertyOf(): LoDashExplicitObjectWrapper<(path: string|string[]) => any>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.range interface LoDashStatic { /** * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length * range is created unless a negative step is specified. * * @param start The start of the range. * @param end The end of the range. * @param step The value to increment or decrement by. * @return Returns a new range array. */ range( start: number, end: number, step?: number ): number[]; /** * @see _.range */ range( end: number, step?: number ): number[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.range */ range( end?: number, step?: number ): LoDashImplicitArrayWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.range */ range( end?: number, step?: number ): LoDashExplicitArrayWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.rangeRight interface LoDashStatic { /** * This method is like `_.range` except that it populates values in * descending order. * * @static * @memberOf _ * @category Util * @param {number} [start=0] The start of the range. * @param {number} end The end of the range. * @param {number} [step=1] The value to increment or decrement by. * @returns {Array} Returns the new array of numbers. * @example * * _.rangeRight(4); * // => [3, 2, 1, 0] * * _.rangeRight(-4); * // => [-3, -2, -1, 0] * * _.rangeRight(1, 5); * // => [4, 3, 2, 1] * * _.rangeRight(0, 20, 5); * // => [15, 10, 5, 0] * * _.rangeRight(0, -4, -1); * // => [-3, -2, -1, 0] * * _.rangeRight(1, 4, 0); * // => [1, 1, 1] * * _.rangeRight(0); * // => [] */ rangeRight( start: number, end: number, step?: number ): number[]; /** * @see _.rangeRight */ rangeRight( end: number, step?: number ): number[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.rangeRight */ rangeRight( end?: number, step?: number ): LoDashImplicitArrayWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.rangeRight */ rangeRight( end?: number, step?: number ): LoDashExplicitArrayWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.runInContext interface LoDashStatic { /** * Create a new pristine lodash function using the given context object. * * @param context The context object. * @return Returns a new lodash function. */ runInContext(context?: Object): typeof _; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.runInContext */ runInContext(): typeof _; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.times interface LoDashStatic { /** * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee * is invoked with one argument; (index). * * @param n The number of times to invoke iteratee. * @param iteratee The function invoked per iteration. * @return Returns the array of results. */ times<TResult>( n: number, iteratee: (num: number) => TResult ): TResult[]; /** * @see _.times */ times(n: number): number[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.times */ times<TResult>( iteratee: (num: number) => TResult ): TResult[]; /** * @see _.times */ times(): number[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.times */ times<TResult>( iteratee: (num: number) => TResult ): LoDashExplicitArrayWrapper<TResult>; /** * @see _.times */ times(): LoDashExplicitArrayWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.toPath interface LoDashStatic { /** * Converts `value` to a property path array. * * @static * @memberOf _ * @category Util * @param {*} value The value to convert. * @returns {Array} Returns the new property path array. * @example * * _.toPath('a.b.c'); * // => ['a', 'b', 'c'] * * _.toPath('a[0].b.c'); * // => ['a', '0', 'b', 'c'] * * var path = ['a', 'b', 'c'], * newPath = _.toPath(path); * * console.log(newPath); * // => ['a', 'b', 'c'] * * console.log(path === newPath); * // => false */ toPath(value: any): string[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapperBase<T, TWrapper> { /** * @see _.toPath */ toPath(): LoDashImplicitWrapper<string[]>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapperBase<T, TWrapper> { /** * @see _.toPath */ toPath(): LoDashExplicitWrapper<string[]>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.uniqueId interface LoDashStatic { /** * Generates a unique ID. If prefix is provided the ID is appended to it. * * @param prefix The value to prefix the ID with. * @return Returns the unique ID. */ uniqueId(prefix?: string): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.uniqueId */ uniqueId(): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.uniqueId */ uniqueId(): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface ListIterator<T, TResult> { (value: T, index: number, collection: List<T>): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface DictionaryIterator<T, TResult> { (value: T, key?: string, collection?: Dictionary<T>): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface NumericDictionaryIterator<T, TResult> { (value: T, key?: number, collection?: Dictionary<T>): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface ObjectIterator<T, TResult> { (element: T, key?: string, collection?: any): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface StringIterator<TResult> { (char: string, index?: number, string?: string): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface MemoVoidIterator<T, TResult> { (prev: TResult, curr: T, indexOrKey?: any, list?: T[]): void; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface MemoIterator<T, TResult> { (prev: TResult, curr: T, indexOrKey?: any, list?: T[]): TResult; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface MemoVoidArrayIterator<T, TResult> { (acc: TResult, curr: T, index?: number, arr?: T[]): void; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface MemoVoidDictionaryIterator<T, TResult> { (acc: TResult, curr: T, key?: string, dict?: Dictionary<T>): void; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//interface Collection<T> {} // Common interface between Arrays and jQuery objects interface List<T> { [index: number]: T; length: number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface Dictionary<T> { [index: string]: T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface NumericDictionary<T> { [index: number]: T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface StringRepresentable { toString(): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface Cancelable { cancel(): void; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
// Backward compatibility with --target es5 interface Set<T> {}
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface Map<K, V> {}
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface WeakSet<T> {}
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface WeakMap<K, V> {}
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
TypeAliasDeclaration
type PH = LoDashStatic;
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
FunctionDeclaration
function P13_On_doSet(o: PropertyOperation) { console.log('P13_On_doSet: ', o.value); }
gkcity/iot-device-sample-nodejs
src/device/S12_Switch_doSet.ts
TypeScript
FunctionDeclaration
export function S12_Switch_doSet(o: PropertyOperation) { if (o.pid == null) { return; } switch (o.pid.iid) { case 13: P13_On_doSet(o); break; default: o.status = OperationStatus.PROPERTY_NOT_FOUND; break; } }
gkcity/iot-device-sample-nodejs
src/device/S12_Switch_doSet.ts
TypeScript