mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 12:09:04 +08:00
lodash: Use module augmentation instead of namespace augmentation to avoid declaring _ as a global variable (#23164)
This commit is contained in:
3
types/lodash/array/chunk.d.ts
vendored
3
types/lodash/array/chunk.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the
|
||||
|
||||
3
types/lodash/array/compact.d.ts
vendored
3
types/lodash/array/compact.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are
|
||||
|
||||
3
types/lodash/array/concat.d.ts
vendored
3
types/lodash/array/concat.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a new array concatenating `array` with any additional arrays
|
||||
|
||||
3
types/lodash/array/difference.d.ts
vendored
3
types/lodash/array/difference.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of unique array values not included in the other provided arrays using SameValueZero for
|
||||
|
||||
3
types/lodash/array/differenceBy.d.ts
vendored
3
types/lodash/array/differenceBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.difference except that it accepts iteratee which is invoked for each element of array
|
||||
|
||||
3
types/lodash/array/differenceWith.d.ts
vendored
3
types/lodash/array/differenceWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of unique `array` values not included in the other
|
||||
|
||||
3
types/lodash/array/drop.d.ts
vendored
3
types/lodash/array/drop.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array with n elements dropped from the beginning.
|
||||
|
||||
3
types/lodash/array/dropRight.d.ts
vendored
3
types/lodash/array/dropRight.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array with n elements dropped from the end.
|
||||
|
||||
3
types/lodash/array/dropRightWhile.d.ts
vendored
3
types/lodash/array/dropRightWhile.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate
|
||||
|
||||
3
types/lodash/array/dropWhile.d.ts
vendored
3
types/lodash/array/dropWhile.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate
|
||||
|
||||
3
types/lodash/array/fill.d.ts
vendored
3
types/lodash/array/fill.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Fills elements of array with value from start up to, but not including, end.
|
||||
|
||||
3
types/lodash/array/findIndex.d.ts
vendored
3
types/lodash/array/findIndex.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.find except that it returns the index of the first element predicate returns truthy
|
||||
|
||||
3
types/lodash/array/findLastIndex.d.ts
vendored
3
types/lodash/array/findLastIndex.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.findIndex except that it iterates over elements of collection from right to left.
|
||||
|
||||
3
types/lodash/array/first.d.ts
vendored
3
types/lodash/array/first.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
first: typeof _.head; // tslint:disable-line:no-unnecessary-qualifier
|
||||
}
|
||||
|
||||
3
types/lodash/array/flatten.d.ts
vendored
3
types/lodash/array/flatten.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Flattens a nested array. If isDeep is true the array is recursively flattened, otherwise it’s only
|
||||
|
||||
3
types/lodash/array/flattenDeep.d.ts
vendored
3
types/lodash/array/flattenDeep.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Recursively flattens a nested array.
|
||||
|
||||
3
types/lodash/array/flattenDepth.d.ts
vendored
3
types/lodash/array/flattenDepth.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Recursively flatten array up to depth times.
|
||||
|
||||
3
types/lodash/array/fromPairs.d.ts
vendored
3
types/lodash/array/fromPairs.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* The inverse of `_.toPairs`; this method returns an object composed
|
||||
|
||||
3
types/lodash/array/head.d.ts
vendored
3
types/lodash/array/head.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets the first element of array.
|
||||
|
||||
3
types/lodash/array/indexOf.d.ts
vendored
3
types/lodash/array/indexOf.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets the index at which the first occurrence of `value` is found in `array`
|
||||
|
||||
3
types/lodash/array/initial.d.ts
vendored
3
types/lodash/array/initial.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets all but the last element of array.
|
||||
|
||||
3
types/lodash/array/intersection.d.ts
vendored
3
types/lodash/array/intersection.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of unique values that are included in all of the provided arrays using SameValueZero for
|
||||
|
||||
3
types/lodash/array/intersectionBy.d.ts
vendored
3
types/lodash/array/intersectionBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.intersection` except that it accepts `iteratee`
|
||||
|
||||
3
types/lodash/array/intersectionWith.d.ts
vendored
3
types/lodash/array/intersectionWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of unique `array` values not included in the other
|
||||
|
||||
3
types/lodash/array/join.d.ts
vendored
3
types/lodash/array/join.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Converts all elements in `array` into a string separated by `separator`.
|
||||
|
||||
3
types/lodash/array/last.d.ts
vendored
3
types/lodash/array/last.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets the last element of array.
|
||||
|
||||
3
types/lodash/array/lastIndexOf.d.ts
vendored
3
types/lodash/array/lastIndexOf.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.indexOf except that it iterates over elements of array from right to left.
|
||||
|
||||
3
types/lodash/array/nth.d.ts
vendored
3
types/lodash/array/nth.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets the element at index `n` of `array`. If `n` is negative, the nth element from the end is returned.
|
||||
|
||||
3
types/lodash/array/pull.d.ts
vendored
3
types/lodash/array/pull.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Removes all provided values from array using SameValueZero for equality comparisons.
|
||||
|
||||
3
types/lodash/array/pullAll.d.ts
vendored
3
types/lodash/array/pullAll.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.pull` except that it accepts an array of values to remove.
|
||||
|
||||
3
types/lodash/array/pullAllBy.d.ts
vendored
3
types/lodash/array/pullAllBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.pullAll` except that it accepts `iteratee` which is
|
||||
|
||||
3
types/lodash/array/pullAllWith.d.ts
vendored
3
types/lodash/array/pullAllWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.pullAll` except that it accepts `comparator` which is
|
||||
|
||||
3
types/lodash/array/pullAt.d.ts
vendored
3
types/lodash/array/pullAt.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Removes elements from array corresponding to the given indexes and returns an array of the removed elements.
|
||||
|
||||
3
types/lodash/array/remove.d.ts
vendored
3
types/lodash/array/remove.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Removes all elements from array that predicate returns truthy for and returns an array of the removed
|
||||
|
||||
3
types/lodash/array/reverse.d.ts
vendored
3
types/lodash/array/reverse.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Reverses `array` so that the first element becomes the last, the second
|
||||
|
||||
3
types/lodash/array/slice.d.ts
vendored
3
types/lodash/array/slice.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array from start up to, but not including, end.
|
||||
|
||||
3
types/lodash/array/sortedIndex.d.ts
vendored
3
types/lodash/array/sortedIndex.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Uses a binary search to determine the lowest index at which `value` should
|
||||
|
||||
3
types/lodash/array/sortedIndexBy.d.ts
vendored
3
types/lodash/array/sortedIndexBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Uses a binary search to determine the lowest index at which `value` should
|
||||
|
||||
3
types/lodash/array/sortedIndexOf.d.ts
vendored
3
types/lodash/array/sortedIndexOf.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.indexOf` except that it performs a binary
|
||||
|
||||
3
types/lodash/array/sortedLastIndex.d.ts
vendored
3
types/lodash/array/sortedLastIndex.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.sortedIndex` except that it returns the highest
|
||||
|
||||
3
types/lodash/array/sortedLastIndexBy.d.ts
vendored
3
types/lodash/array/sortedLastIndexBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.sortedLastIndex` except that it accepts `iteratee`
|
||||
|
||||
3
types/lodash/array/sortedLastIndexOf.d.ts
vendored
3
types/lodash/array/sortedLastIndexOf.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.lastIndexOf` except that it performs a binary
|
||||
|
||||
3
types/lodash/array/sortedUniq.d.ts
vendored
3
types/lodash/array/sortedUniq.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.uniq` except that it's designed and optimized
|
||||
|
||||
3
types/lodash/array/sortedUniqBy.d.ts
vendored
3
types/lodash/array/sortedUniqBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.uniqBy` except that it's designed and optimized
|
||||
|
||||
3
types/lodash/array/tail.d.ts
vendored
3
types/lodash/array/tail.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets all but the first element of array.
|
||||
|
||||
3
types/lodash/array/take.d.ts
vendored
3
types/lodash/array/take.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array with n elements taken from the beginning.
|
||||
|
||||
3
types/lodash/array/takeRight.d.ts
vendored
3
types/lodash/array/takeRight.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array with n elements taken from the end.
|
||||
|
||||
3
types/lodash/array/takeRightWhile.d.ts
vendored
3
types/lodash/array/takeRightWhile.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array with elements taken from the end. Elements are taken until predicate returns
|
||||
|
||||
3
types/lodash/array/takeWhile.d.ts
vendored
3
types/lodash/array/takeWhile.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns
|
||||
|
||||
3
types/lodash/array/union.d.ts
vendored
3
types/lodash/array/union.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of unique values, in order, from all of the provided arrays using SameValueZero for
|
||||
|
||||
3
types/lodash/array/unionBy.d.ts
vendored
3
types/lodash/array/unionBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.union` except that it accepts `iteratee` which is
|
||||
|
||||
3
types/lodash/array/unionWith.d.ts
vendored
3
types/lodash/array/unionWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.union` except that it accepts `comparator` which
|
||||
|
||||
3
types/lodash/array/uniq.d.ts
vendored
3
types/lodash/array/uniq.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a duplicate-free version of an array, using
|
||||
|
||||
3
types/lodash/array/uniqBy.d.ts
vendored
3
types/lodash/array/uniqBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.uniq` except that it accepts `iteratee` which is
|
||||
|
||||
3
types/lodash/array/uniqWith.d.ts
vendored
3
types/lodash/array/uniqWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.uniq` except that it accepts `comparator` which
|
||||
|
||||
3
types/lodash/array/unzip.d.ts
vendored
3
types/lodash/array/unzip.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.zip except that it accepts an array of grouped elements and creates an array
|
||||
|
||||
3
types/lodash/array/unzipWith.d.ts
vendored
3
types/lodash/array/unzipWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be
|
||||
|
||||
3
types/lodash/array/without.d.ts
vendored
3
types/lodash/array/without.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array excluding all provided values using SameValueZero for equality comparisons.
|
||||
|
||||
3
types/lodash/array/xor.d.ts
vendored
3
types/lodash/array/xor.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of unique values that is the symmetric difference of the provided arrays.
|
||||
|
||||
3
types/lodash/array/xorBy.d.ts
vendored
3
types/lodash/array/xorBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.xor` except that it accepts `iteratee` which is
|
||||
|
||||
3
types/lodash/array/xorWith.d.ts
vendored
3
types/lodash/array/xorWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.xor` except that it accepts `comparator` which is
|
||||
|
||||
3
types/lodash/array/zip.d.ts
vendored
3
types/lodash/array/zip.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of grouped elements, the first of which contains the first elements of the given arrays,
|
||||
|
||||
3
types/lodash/array/zipObject.d.ts
vendored
3
types/lodash/array/zipObject.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.fromPairs except that it accepts two arrays, one of property
|
||||
|
||||
3
types/lodash/array/zipObjectDeep.d.ts
vendored
3
types/lodash/array/zipObjectDeep.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.zipObject except that it supports property paths.
|
||||
|
||||
3
types/lodash/array/zipWith.d.ts
vendored
3
types/lodash/array/zipWith.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import _ = require("..");
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.zip except that it accepts an iteratee to specify how grouped values should be
|
||||
|
||||
3
types/lodash/collection/countBy.d.ts
vendored
3
types/lodash/collection/countBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an object composed of keys generated from the results of running each element of collection through
|
||||
|
||||
3
types/lodash/collection/each.d.ts
vendored
3
types/lodash/collection/each.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
each: typeof _.forEach; // tslint:disable-line:no-unnecessary-qualifier
|
||||
}
|
||||
|
||||
3
types/lodash/collection/eachRight.d.ts
vendored
3
types/lodash/collection/eachRight.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
eachRight: typeof _.forEachRight; // tslint:disable-line:no-unnecessary-qualifier
|
||||
}
|
||||
|
||||
3
types/lodash/collection/every.d.ts
vendored
3
types/lodash/collection/every.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate
|
||||
|
||||
3
types/lodash/collection/filter.d.ts
vendored
3
types/lodash/collection/filter.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The
|
||||
|
||||
3
types/lodash/collection/find.d.ts
vendored
3
types/lodash/collection/find.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Iterates over elements of collection, returning the first element predicate returns truthy for.
|
||||
|
||||
3
types/lodash/collection/findLast.d.ts
vendored
3
types/lodash/collection/findLast.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.find except that it iterates over elements of a collection from
|
||||
|
||||
3
types/lodash/collection/flatMap.d.ts
vendored
3
types/lodash/collection/flatMap.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of flattened values by running each element in collection through iteratee
|
||||
|
||||
3
types/lodash/collection/flatMapDeep.d.ts
vendored
3
types/lodash/collection/flatMapDeep.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.flatMap` except that it recursively flattens the
|
||||
|
||||
3
types/lodash/collection/flatMapDepth.d.ts
vendored
3
types/lodash/collection/flatMapDepth.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.flatMap` except that it recursively flattens the
|
||||
|
||||
3
types/lodash/collection/forEach.d.ts
vendored
3
types/lodash/collection/forEach.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Iterates over elements of collection invoking iteratee for each element. The iteratee is bound to thisArg
|
||||
|
||||
3
types/lodash/collection/forEachRight.d.ts
vendored
3
types/lodash/collection/forEachRight.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.forEach except that it iterates over elements of collection from right to left.
|
||||
|
||||
3
types/lodash/collection/groupBy.d.ts
vendored
3
types/lodash/collection/groupBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an object composed of keys generated from the results of running each element of collection through
|
||||
|
||||
3
types/lodash/collection/includes.d.ts
vendored
3
types/lodash/collection/includes.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Checks if target is in collection using SameValueZero for equality comparisons. If fromIndex is negative,
|
||||
|
||||
3
types/lodash/collection/invokeMap.d.ts
vendored
3
types/lodash/collection/invokeMap.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Invokes the method named by methodName on each element in the collection returning
|
||||
|
||||
3
types/lodash/collection/keyBy.d.ts
vendored
3
types/lodash/collection/keyBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an object composed of keys generated from the results of running each element of collection through
|
||||
|
||||
3
types/lodash/collection/map.d.ts
vendored
3
types/lodash/collection/map.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of values by running each element in collection through iteratee. The iteratee is bound to
|
||||
|
||||
3
types/lodash/collection/orderBy.d.ts
vendored
3
types/lodash/collection/orderBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like `_.sortBy` except that it allows specifying the sort
|
||||
|
||||
3
types/lodash/collection/partition.d.ts
vendored
3
types/lodash/collection/partition.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for,
|
||||
|
||||
3
types/lodash/collection/reduce.d.ts
vendored
3
types/lodash/collection/reduce.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Reduces a collection to a value which is the accumulated result of running each
|
||||
|
||||
3
types/lodash/collection/reduceRight.d.ts
vendored
3
types/lodash/collection/reduceRight.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* This method is like _.reduce except that it iterates over elements of a collection from
|
||||
|
||||
3
types/lodash/collection/reject.d.ts
vendored
3
types/lodash/collection/reject.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* The opposite of _.filter; this method returns the elements of collection that predicate does not return
|
||||
|
||||
3
types/lodash/collection/sample.d.ts
vendored
3
types/lodash/collection/sample.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets a random element from collection.
|
||||
|
||||
3
types/lodash/collection/sampleSize.d.ts
vendored
3
types/lodash/collection/sampleSize.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets n random elements at unique keys from collection up to the size of collection.
|
||||
|
||||
3
types/lodash/collection/shuffle.d.ts
vendored
3
types/lodash/collection/shuffle.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of shuffled values, using a version of the Fisher-Yates shuffle.
|
||||
|
||||
3
types/lodash/collection/size.d.ts
vendored
3
types/lodash/collection/size.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets the size of collection by returning its length for array-like values or the number of own enumerable
|
||||
|
||||
3
types/lodash/collection/some.d.ts
vendored
3
types/lodash/collection/some.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate
|
||||
|
||||
3
types/lodash/collection/sortBy.d.ts
vendored
3
types/lodash/collection/sortBy.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates an array of elements, sorted in ascending order by the results of
|
||||
|
||||
7
types/lodash/common/common.d.ts
vendored
7
types/lodash/common/common.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
declare let _: _.LoDashStatic;
|
||||
type PartialObject<T> = Partial<T>;
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
type GlobalPartial<T> = Partial<T>;
|
||||
declare module ".." {
|
||||
type PartialObject<T> = GlobalPartial<T>;
|
||||
type Many<T> = T | T[];
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
|
||||
3
types/lodash/date/now.d.ts
vendored
3
types/lodash/date/now.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
|
||||
|
||||
3
types/lodash/function/after.d.ts
vendored
3
types/lodash/function/after.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.
|
||||
|
||||
3
types/lodash/function/ary.d.ts
vendored
3
types/lodash/function/ary.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a function that accepts up to n arguments ignoring any additional arguments.
|
||||
|
||||
3
types/lodash/function/before.d.ts
vendored
3
types/lodash/function/before.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
* Creates a function that invokes func, with the this binding and arguments of the created function, while
|
||||
|
||||
3
types/lodash/function/bind.d.ts
vendored
3
types/lodash/function/bind.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface FunctionBind {
|
||||
placeholder: any;
|
||||
|
||||
|
||||
3
types/lodash/function/bindKey.d.ts
vendored
3
types/lodash/function/bindKey.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
declare namespace _ {
|
||||
import * as _ from "..";
|
||||
declare module ".." {
|
||||
interface FunctionBindKey {
|
||||
placeholder: any;
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user