mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
lodash: Apply new lint rules (#15491)
This commit is contained in:
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { add } from "../index";
|
||||
export = add;
|
||||
export = add;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { after } from "../index";
|
||||
export = after;
|
||||
export = after;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { ary } from "../index";
|
||||
export = ary;
|
||||
export = ary;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { assign } from "../index";
|
||||
export = assign;
|
||||
export = assign;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { assignIn } from "../index";
|
||||
export = assignIn;
|
||||
export = assignIn;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { assignInWith } from "../index";
|
||||
export = assignInWith;
|
||||
export = assignInWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { assignWith } from "../index";
|
||||
export = assignWith;
|
||||
export = assignWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { at } from "../index";
|
||||
export = at;
|
||||
export = at;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { attempt } from "../index";
|
||||
export = attempt;
|
||||
export = attempt;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { before } from "../index";
|
||||
export = before;
|
||||
export = before;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { bind } from "../index";
|
||||
export = bind;
|
||||
export = bind;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { bindAll } from "../index";
|
||||
export = bindAll;
|
||||
export = bindAll;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { bindKey } from "../index";
|
||||
export = bindKey;
|
||||
export = bindKey;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { camelCase } from "../index";
|
||||
export = camelCase;
|
||||
export = camelCase;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { capitalize } from "../index";
|
||||
export = capitalize;
|
||||
export = capitalize;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { castArray } from "../index";
|
||||
export = castArray;
|
||||
export = castArray;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { ceil } from "../index";
|
||||
export = ceil;
|
||||
export = ceil;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { chain } from "../index";
|
||||
export = chain;
|
||||
export = chain;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { chunk } from "../index";
|
||||
export = chunk;
|
||||
export = chunk;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { clamp } from "../index";
|
||||
export = clamp;
|
||||
export = clamp;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { clone } from "../index";
|
||||
export = clone;
|
||||
export = clone;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { cloneDeep } from "../index";
|
||||
export = cloneDeep;
|
||||
export = cloneDeep;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { cloneDeepWith } from "../index";
|
||||
export = cloneDeepWith;
|
||||
export = cloneDeepWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { cloneWith } from "../index";
|
||||
export = cloneWith;
|
||||
export = cloneWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { compact } from "../index";
|
||||
export = compact;
|
||||
export = compact;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { concat } from "../index";
|
||||
export = concat;
|
||||
export = concat;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { constant } from "../index";
|
||||
export = constant;
|
||||
export = constant;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { countBy } from "../index";
|
||||
export = countBy;
|
||||
export = countBy;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { create } from "../index";
|
||||
export = create;
|
||||
export = create;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { curry } from "../index";
|
||||
export = curry;
|
||||
export = curry;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { curryRight } from "../index";
|
||||
export = curryRight;
|
||||
export = curryRight;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { debounce } from "../index";
|
||||
export = debounce;
|
||||
export = debounce;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { deburr } from "../index";
|
||||
export = deburr;
|
||||
export = deburr;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { defaults } from "../index";
|
||||
export = defaults;
|
||||
export = defaults;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { defaultsDeep } from "../index";
|
||||
export = defaultsDeep;
|
||||
export = defaultsDeep;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { defer } from "../index";
|
||||
export = defer;
|
||||
export = defer;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { delay } from "../index";
|
||||
export = delay;
|
||||
export = delay;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { difference } from "../index";
|
||||
export = difference;
|
||||
export = difference;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { differenceBy } from "../index";
|
||||
export = differenceBy;
|
||||
export = differenceBy;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { differenceWith } from "../index";
|
||||
export = differenceWith;
|
||||
export = differenceWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { drop } from "../index";
|
||||
export = drop;
|
||||
export = drop;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { dropRight } from "../index";
|
||||
export = dropRight;
|
||||
export = dropRight;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { dropRightWhile } from "../index";
|
||||
export = dropRightWhile;
|
||||
export = dropRightWhile;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { dropWhile } from "../index";
|
||||
export = dropWhile;
|
||||
export = dropWhile;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { each } from "../index";
|
||||
export = each;
|
||||
export = each;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { eachRight } from "../index";
|
||||
export = eachRight;
|
||||
export = eachRight;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { endsWith } from "../index";
|
||||
export = endsWith;
|
||||
export = endsWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { eq } from "../index";
|
||||
export = eq;
|
||||
export = eq;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { escape } from "../index";
|
||||
export = escape;
|
||||
export = escape;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { escapeRegExp } from "../index";
|
||||
export = escapeRegExp;
|
||||
export = escapeRegExp;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { every } from "../index";
|
||||
export = every;
|
||||
export = every;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { extend } from "../index";
|
||||
export = extend;
|
||||
export = extend;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { extendWith } from "../index";
|
||||
export = extendWith;
|
||||
export = extendWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { fill } from "../index";
|
||||
export = fill;
|
||||
export = fill;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { filter } from "../index";
|
||||
export = filter;
|
||||
export = filter;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { find } from "../index";
|
||||
export = find;
|
||||
export = find;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { findIndex } from "../index";
|
||||
export = findIndex;
|
||||
export = findIndex;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { findKey } from "../index";
|
||||
export = findKey;
|
||||
export = findKey;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { findLast } from "../index";
|
||||
export = findLast;
|
||||
export = findLast;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { findLastIndex } from "../index";
|
||||
export = findLastIndex;
|
||||
export = findLastIndex;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { findLastKey } from "../index";
|
||||
export = findLastKey;
|
||||
export = findLastKey;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { first } from "../index";
|
||||
export = first;
|
||||
export = first;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { flatMap } from "../index";
|
||||
export = flatMap;
|
||||
export = flatMap;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { flatten } from "../index";
|
||||
export = flatten;
|
||||
export = flatten;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { flattenDeep } from "../index";
|
||||
export = flattenDeep;
|
||||
export = flattenDeep;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { flattenDepth } from "../index";
|
||||
export = flattenDepth;
|
||||
export = flattenDepth;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { flip } from "../index";
|
||||
export = flip;
|
||||
export = flip;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { floor } from "../index";
|
||||
export = floor;
|
||||
export = floor;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { flow } from "../index";
|
||||
export = flow;
|
||||
export = flow;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { flowRight } from "../index";
|
||||
export = flowRight;
|
||||
export = flowRight;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { forEach } from "../index";
|
||||
export = forEach;
|
||||
export = forEach;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { forEachRight } from "../index";
|
||||
export = forEachRight;
|
||||
export = forEachRight;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { forIn } from "../index";
|
||||
export = forIn;
|
||||
export = forIn;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { forInRight } from "../index";
|
||||
export = forInRight;
|
||||
export = forInRight;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { forOwn } from "../index";
|
||||
export = forOwn;
|
||||
export = forOwn;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { forOwnRight } from "../index";
|
||||
export = forOwnRight;
|
||||
export = forOwnRight;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { fromPairs } from "../index";
|
||||
export = fromPairs;
|
||||
export = fromPairs;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { functions } from "../index";
|
||||
export = functions;
|
||||
export = functions;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { functionsIn } from "../index";
|
||||
export = functionsIn;
|
||||
export = functionsIn;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { get } from "../index";
|
||||
export = get;
|
||||
export = get;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { groupBy } from "../index";
|
||||
export = groupBy;
|
||||
export = groupBy;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { gt } from "../index";
|
||||
export = gt;
|
||||
export = gt;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { gte } from "../index";
|
||||
export = gte;
|
||||
export = gte;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { has } from "../index";
|
||||
export = has;
|
||||
export = has;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { hasIn } from "../index";
|
||||
export = hasIn;
|
||||
export = hasIn;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { head } from "../index";
|
||||
export = head;
|
||||
export = head;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { identity } from "../index";
|
||||
export = identity;
|
||||
export = identity;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { inRange } from "../index";
|
||||
export = inRange;
|
||||
export = inRange;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { includes } from "../index";
|
||||
export = includes;
|
||||
export = includes;
|
||||
|
||||
Vendored
+1
-17
@@ -43,7 +43,6 @@ changes:
|
||||
- [x] Made _.capitalize uppercase the first character & lowercase the rest
|
||||
- [x] Made _.functions return only own method names
|
||||
|
||||
|
||||
added 23 array methods:
|
||||
- [x] _.concat
|
||||
- [x] _.differenceBy
|
||||
@@ -101,7 +100,6 @@ added 13 object methods:
|
||||
- [x] _.omitBy
|
||||
- [x] _.pickBy
|
||||
|
||||
|
||||
added 8 string methods:
|
||||
- [x] _.lowerCase
|
||||
- [x] _.lowerFirst
|
||||
@@ -237,7 +235,6 @@ Methods:
|
||||
- [ ] _.next
|
||||
*/
|
||||
|
||||
|
||||
export = _;
|
||||
export as namespace _;
|
||||
|
||||
@@ -246,7 +243,6 @@ declare var _: _.LoDashStatic;
|
||||
type PartialObject<T> = Partial<T>;
|
||||
|
||||
declare namespace _ {
|
||||
|
||||
type Many<T> = T | T[];
|
||||
|
||||
interface LoDashStatic {
|
||||
@@ -3202,11 +3198,9 @@ declare namespace _ {
|
||||
sortedIndex<W, T>(
|
||||
value: T
|
||||
): LoDashExplicitWrapper<number>;
|
||||
|
||||
|
||||
}
|
||||
|
||||
//_.sortedIndexBy
|
||||
// _.sortedIndexBy
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.sortedIndex` except that it accepts `iteratee`
|
||||
@@ -8662,7 +8656,6 @@ declare namespace _ {
|
||||
reduce<T, TResult>(
|
||||
collection: NumericDictionary<T>,
|
||||
callback: MemoIterator<T, TResult>): TResult;
|
||||
|
||||
}
|
||||
|
||||
interface LoDashImplicitArrayWrapper<T> {
|
||||
@@ -9248,7 +9241,6 @@ declare namespace _ {
|
||||
predicate?: string|[string, any]
|
||||
): boolean;
|
||||
|
||||
|
||||
/**
|
||||
* @see _.some
|
||||
*/
|
||||
@@ -10517,7 +10509,6 @@ declare namespace _ {
|
||||
flowRight<TResult extends Function>(...funcs: Function[]): LoDashExplicitObjectWrapper<TResult>;
|
||||
}
|
||||
|
||||
|
||||
//_.memoize
|
||||
interface MemoizedFunction extends Function {
|
||||
cache: MapCache;
|
||||
@@ -11163,7 +11154,6 @@ declare namespace _ {
|
||||
}
|
||||
|
||||
interface LoDashImplicitArrayWrapper<T> {
|
||||
|
||||
/**
|
||||
* @see _.clone
|
||||
*/
|
||||
@@ -11185,7 +11175,6 @@ declare namespace _ {
|
||||
}
|
||||
|
||||
interface LoDashExplicitArrayWrapper<T> {
|
||||
|
||||
/**
|
||||
* @see _.clone
|
||||
*/
|
||||
@@ -13875,7 +13864,6 @@ declare namespace _ {
|
||||
end: number
|
||||
): boolean;
|
||||
|
||||
|
||||
/**
|
||||
* @see _.inRange
|
||||
*/
|
||||
@@ -14720,7 +14708,6 @@ declare namespace _ {
|
||||
create<U extends Object>(properties?: U): LoDashExplicitObjectWrapper<T & U>;
|
||||
}
|
||||
|
||||
|
||||
//_.defaults
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
@@ -16593,7 +16580,6 @@ declare namespace _ {
|
||||
}
|
||||
|
||||
interface LoDashImplicitObjectWrapper<T> {
|
||||
|
||||
/**
|
||||
* @see _.omit
|
||||
*/
|
||||
@@ -16603,7 +16589,6 @@ declare namespace _ {
|
||||
}
|
||||
|
||||
interface LoDashExplicitObjectWrapper<T> {
|
||||
|
||||
/**
|
||||
* @see _.omit
|
||||
*/
|
||||
@@ -19498,7 +19483,6 @@ declare namespace _ {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Backward compatibility with --target es5
|
||||
declare global {
|
||||
interface Set<T> { }
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { indexOf } from "../index";
|
||||
export = indexOf;
|
||||
export = indexOf;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { initial } from "../index";
|
||||
export = initial;
|
||||
export = initial;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { intersection } from "../index";
|
||||
export = intersection;
|
||||
export = intersection;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { intersectionBy } from "../index";
|
||||
export = intersectionBy;
|
||||
export = intersectionBy;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { intersectionWith } from "../index";
|
||||
export = intersectionWith;
|
||||
export = intersectionWith;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { invert } from "../index";
|
||||
export = invert;
|
||||
export = invert;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { invertBy } from "../index";
|
||||
export = invertBy;
|
||||
export = invertBy;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { invoke } from "../index";
|
||||
export = invoke;
|
||||
export = invoke;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { invokeMap } from "../index";
|
||||
export = invokeMap;
|
||||
export = invokeMap;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { isArguments } from "../index";
|
||||
export = isArguments;
|
||||
export = isArguments;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user