diff --git a/types/lodash/array/chunk.d.ts b/types/lodash/array/chunk.d.ts index de40df8673..bb869b77ad 100644 --- a/types/lodash/array/chunk.d.ts +++ b/types/lodash/array/chunk.d.ts @@ -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 diff --git a/types/lodash/array/compact.d.ts b/types/lodash/array/compact.d.ts index 1de3bbae4c..8a0f18e179 100644 --- a/types/lodash/array/compact.d.ts +++ b/types/lodash/array/compact.d.ts @@ -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 diff --git a/types/lodash/array/concat.d.ts b/types/lodash/array/concat.d.ts index 977a086525..06e756ec42 100644 --- a/types/lodash/array/concat.d.ts +++ b/types/lodash/array/concat.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a new array concatenating `array` with any additional arrays diff --git a/types/lodash/array/difference.d.ts b/types/lodash/array/difference.d.ts index c6d1797192..8b5570ea59 100644 --- a/types/lodash/array/difference.d.ts +++ b/types/lodash/array/difference.d.ts @@ -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 diff --git a/types/lodash/array/differenceBy.d.ts b/types/lodash/array/differenceBy.d.ts index 6b291ac272..3ec03a1489 100644 --- a/types/lodash/array/differenceBy.d.ts +++ b/types/lodash/array/differenceBy.d.ts @@ -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 diff --git a/types/lodash/array/differenceWith.d.ts b/types/lodash/array/differenceWith.d.ts index c238f54b06..ce51f26b2a 100644 --- a/types/lodash/array/differenceWith.d.ts +++ b/types/lodash/array/differenceWith.d.ts @@ -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 diff --git a/types/lodash/array/drop.d.ts b/types/lodash/array/drop.d.ts index 89e5b68b9b..8573d243b2 100644 --- a/types/lodash/array/drop.d.ts +++ b/types/lodash/array/drop.d.ts @@ -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. diff --git a/types/lodash/array/dropRight.d.ts b/types/lodash/array/dropRight.d.ts index 518080db8b..bb968873b3 100644 --- a/types/lodash/array/dropRight.d.ts +++ b/types/lodash/array/dropRight.d.ts @@ -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. diff --git a/types/lodash/array/dropRightWhile.d.ts b/types/lodash/array/dropRightWhile.d.ts index 26aeba29eb..f12c868ef9 100644 --- a/types/lodash/array/dropRightWhile.d.ts +++ b/types/lodash/array/dropRightWhile.d.ts @@ -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 diff --git a/types/lodash/array/dropWhile.d.ts b/types/lodash/array/dropWhile.d.ts index 6335cec6b6..a24cad0852 100644 --- a/types/lodash/array/dropWhile.d.ts +++ b/types/lodash/array/dropWhile.d.ts @@ -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 diff --git a/types/lodash/array/fill.d.ts b/types/lodash/array/fill.d.ts index de22051cc8..579648b7bd 100644 --- a/types/lodash/array/fill.d.ts +++ b/types/lodash/array/fill.d.ts @@ -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. diff --git a/types/lodash/array/findIndex.d.ts b/types/lodash/array/findIndex.d.ts index eb0d6ae1a1..eeba389c04 100644 --- a/types/lodash/array/findIndex.d.ts +++ b/types/lodash/array/findIndex.d.ts @@ -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 diff --git a/types/lodash/array/findLastIndex.d.ts b/types/lodash/array/findLastIndex.d.ts index 04088a7ea2..17e3728e9d 100644 --- a/types/lodash/array/findLastIndex.d.ts +++ b/types/lodash/array/findLastIndex.d.ts @@ -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. diff --git a/types/lodash/array/first.d.ts b/types/lodash/array/first.d.ts index 13c28fbce0..97778fff3c 100644 --- a/types/lodash/array/first.d.ts +++ b/types/lodash/array/first.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { first: typeof _.head; // tslint:disable-line:no-unnecessary-qualifier } diff --git a/types/lodash/array/flatten.d.ts b/types/lodash/array/flatten.d.ts index cce7ded984..d94e9ded23 100644 --- a/types/lodash/array/flatten.d.ts +++ b/types/lodash/array/flatten.d.ts @@ -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 diff --git a/types/lodash/array/flattenDeep.d.ts b/types/lodash/array/flattenDeep.d.ts index f25386327a..532263859f 100644 --- a/types/lodash/array/flattenDeep.d.ts +++ b/types/lodash/array/flattenDeep.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Recursively flattens a nested array. diff --git a/types/lodash/array/flattenDepth.d.ts b/types/lodash/array/flattenDepth.d.ts index 807e925308..43dbb1bb62 100644 --- a/types/lodash/array/flattenDepth.d.ts +++ b/types/lodash/array/flattenDepth.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Recursively flatten array up to depth times. diff --git a/types/lodash/array/fromPairs.d.ts b/types/lodash/array/fromPairs.d.ts index 08af96f8e2..1ec15da823 100644 --- a/types/lodash/array/fromPairs.d.ts +++ b/types/lodash/array/fromPairs.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * The inverse of `_.toPairs`; this method returns an object composed diff --git a/types/lodash/array/head.d.ts b/types/lodash/array/head.d.ts index 19c2d2df77..39d56b77e1 100644 --- a/types/lodash/array/head.d.ts +++ b/types/lodash/array/head.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Gets the first element of array. diff --git a/types/lodash/array/indexOf.d.ts b/types/lodash/array/indexOf.d.ts index da5d91e0d3..b176b746d6 100644 --- a/types/lodash/array/indexOf.d.ts +++ b/types/lodash/array/indexOf.d.ts @@ -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` diff --git a/types/lodash/array/initial.d.ts b/types/lodash/array/initial.d.ts index d011a0998f..ca8847cedb 100644 --- a/types/lodash/array/initial.d.ts +++ b/types/lodash/array/initial.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Gets all but the last element of array. diff --git a/types/lodash/array/intersection.d.ts b/types/lodash/array/intersection.d.ts index 71a7c06abc..426b8c824c 100644 --- a/types/lodash/array/intersection.d.ts +++ b/types/lodash/array/intersection.d.ts @@ -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 diff --git a/types/lodash/array/intersectionBy.d.ts b/types/lodash/array/intersectionBy.d.ts index 251dbd78f7..1d8842ae8d 100644 --- a/types/lodash/array/intersectionBy.d.ts +++ b/types/lodash/array/intersectionBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.intersection` except that it accepts `iteratee` diff --git a/types/lodash/array/intersectionWith.d.ts b/types/lodash/array/intersectionWith.d.ts index 5dce77beab..e12513a332 100644 --- a/types/lodash/array/intersectionWith.d.ts +++ b/types/lodash/array/intersectionWith.d.ts @@ -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 diff --git a/types/lodash/array/join.d.ts b/types/lodash/array/join.d.ts index 27d62caaff..6882226487 100644 --- a/types/lodash/array/join.d.ts +++ b/types/lodash/array/join.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts all elements in `array` into a string separated by `separator`. diff --git a/types/lodash/array/last.d.ts b/types/lodash/array/last.d.ts index 1c6d435eff..6c045643c7 100644 --- a/types/lodash/array/last.d.ts +++ b/types/lodash/array/last.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Gets the last element of array. diff --git a/types/lodash/array/lastIndexOf.d.ts b/types/lodash/array/lastIndexOf.d.ts index 454b8b2676..ce12ca3448 100644 --- a/types/lodash/array/lastIndexOf.d.ts +++ b/types/lodash/array/lastIndexOf.d.ts @@ -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. diff --git a/types/lodash/array/nth.d.ts b/types/lodash/array/nth.d.ts index e6ebe7834d..7047172409 100644 --- a/types/lodash/array/nth.d.ts +++ b/types/lodash/array/nth.d.ts @@ -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. diff --git a/types/lodash/array/pull.d.ts b/types/lodash/array/pull.d.ts index b604bc9ff7..55887abac1 100644 --- a/types/lodash/array/pull.d.ts +++ b/types/lodash/array/pull.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Removes all provided values from array using SameValueZero for equality comparisons. diff --git a/types/lodash/array/pullAll.d.ts b/types/lodash/array/pullAll.d.ts index 33e663c8be..a3bb93d45e 100644 --- a/types/lodash/array/pullAll.d.ts +++ b/types/lodash/array/pullAll.d.ts @@ -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. diff --git a/types/lodash/array/pullAllBy.d.ts b/types/lodash/array/pullAllBy.d.ts index e2261a7d8b..aeada231e9 100644 --- a/types/lodash/array/pullAllBy.d.ts +++ b/types/lodash/array/pullAllBy.d.ts @@ -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 diff --git a/types/lodash/array/pullAllWith.d.ts b/types/lodash/array/pullAllWith.d.ts index aefdf90981..0f9f176d5d 100644 --- a/types/lodash/array/pullAllWith.d.ts +++ b/types/lodash/array/pullAllWith.d.ts @@ -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 diff --git a/types/lodash/array/pullAt.d.ts b/types/lodash/array/pullAt.d.ts index 8a161cfd97..5104b9bc62 100644 --- a/types/lodash/array/pullAt.d.ts +++ b/types/lodash/array/pullAt.d.ts @@ -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. diff --git a/types/lodash/array/remove.d.ts b/types/lodash/array/remove.d.ts index cc8ed55a3c..ccc9ea1e2d 100644 --- a/types/lodash/array/remove.d.ts +++ b/types/lodash/array/remove.d.ts @@ -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 diff --git a/types/lodash/array/reverse.d.ts b/types/lodash/array/reverse.d.ts index a5a4c61b2a..5e8f08ccbf 100644 --- a/types/lodash/array/reverse.d.ts +++ b/types/lodash/array/reverse.d.ts @@ -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 diff --git a/types/lodash/array/slice.d.ts b/types/lodash/array/slice.d.ts index 4161cf25de..eb2399694a 100644 --- a/types/lodash/array/slice.d.ts +++ b/types/lodash/array/slice.d.ts @@ -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. diff --git a/types/lodash/array/sortedIndex.d.ts b/types/lodash/array/sortedIndex.d.ts index 2390a19e66..dc9ac781f0 100644 --- a/types/lodash/array/sortedIndex.d.ts +++ b/types/lodash/array/sortedIndex.d.ts @@ -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 diff --git a/types/lodash/array/sortedIndexBy.d.ts b/types/lodash/array/sortedIndexBy.d.ts index b71ae3b859..2068250211 100644 --- a/types/lodash/array/sortedIndexBy.d.ts +++ b/types/lodash/array/sortedIndexBy.d.ts @@ -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 diff --git a/types/lodash/array/sortedIndexOf.d.ts b/types/lodash/array/sortedIndexOf.d.ts index f3e7143074..a46af74a94 100644 --- a/types/lodash/array/sortedIndexOf.d.ts +++ b/types/lodash/array/sortedIndexOf.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.indexOf` except that it performs a binary diff --git a/types/lodash/array/sortedLastIndex.d.ts b/types/lodash/array/sortedLastIndex.d.ts index af4cc1663b..3e6d662797 100644 --- a/types/lodash/array/sortedLastIndex.d.ts +++ b/types/lodash/array/sortedLastIndex.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.sortedIndex` except that it returns the highest diff --git a/types/lodash/array/sortedLastIndexBy.d.ts b/types/lodash/array/sortedLastIndexBy.d.ts index 5a691a6b28..8ee5b4a94a 100644 --- a/types/lodash/array/sortedLastIndexBy.d.ts +++ b/types/lodash/array/sortedLastIndexBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.sortedLastIndex` except that it accepts `iteratee` diff --git a/types/lodash/array/sortedLastIndexOf.d.ts b/types/lodash/array/sortedLastIndexOf.d.ts index 6230ec6c44..e26f728084 100644 --- a/types/lodash/array/sortedLastIndexOf.d.ts +++ b/types/lodash/array/sortedLastIndexOf.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.lastIndexOf` except that it performs a binary diff --git a/types/lodash/array/sortedUniq.d.ts b/types/lodash/array/sortedUniq.d.ts index 74e7e79f0f..92feeab841 100644 --- a/types/lodash/array/sortedUniq.d.ts +++ b/types/lodash/array/sortedUniq.d.ts @@ -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 diff --git a/types/lodash/array/sortedUniqBy.d.ts b/types/lodash/array/sortedUniqBy.d.ts index 6cad3ad107..f9c93652e5 100644 --- a/types/lodash/array/sortedUniqBy.d.ts +++ b/types/lodash/array/sortedUniqBy.d.ts @@ -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 diff --git a/types/lodash/array/tail.d.ts b/types/lodash/array/tail.d.ts index ed73ef0fbe..d4bb3090fa 100644 --- a/types/lodash/array/tail.d.ts +++ b/types/lodash/array/tail.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Gets all but the first element of array. diff --git a/types/lodash/array/take.d.ts b/types/lodash/array/take.d.ts index 5044113e2d..57cb4e437d 100644 --- a/types/lodash/array/take.d.ts +++ b/types/lodash/array/take.d.ts @@ -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. diff --git a/types/lodash/array/takeRight.d.ts b/types/lodash/array/takeRight.d.ts index 4620ac6e4d..46cbc4d89c 100644 --- a/types/lodash/array/takeRight.d.ts +++ b/types/lodash/array/takeRight.d.ts @@ -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. diff --git a/types/lodash/array/takeRightWhile.d.ts b/types/lodash/array/takeRightWhile.d.ts index aa9822bbfb..569774626f 100644 --- a/types/lodash/array/takeRightWhile.d.ts +++ b/types/lodash/array/takeRightWhile.d.ts @@ -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 diff --git a/types/lodash/array/takeWhile.d.ts b/types/lodash/array/takeWhile.d.ts index e9d28e076a..ca091fc38a 100644 --- a/types/lodash/array/takeWhile.d.ts +++ b/types/lodash/array/takeWhile.d.ts @@ -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 diff --git a/types/lodash/array/union.d.ts b/types/lodash/array/union.d.ts index 4e977dc4f5..0fff31fb35 100644 --- a/types/lodash/array/union.d.ts +++ b/types/lodash/array/union.d.ts @@ -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 diff --git a/types/lodash/array/unionBy.d.ts b/types/lodash/array/unionBy.d.ts index bafedc0b14..0465f88f89 100644 --- a/types/lodash/array/unionBy.d.ts +++ b/types/lodash/array/unionBy.d.ts @@ -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 diff --git a/types/lodash/array/unionWith.d.ts b/types/lodash/array/unionWith.d.ts index 9e427abdbf..8a458b035b 100644 --- a/types/lodash/array/unionWith.d.ts +++ b/types/lodash/array/unionWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.union` except that it accepts `comparator` which diff --git a/types/lodash/array/uniq.d.ts b/types/lodash/array/uniq.d.ts index 670000bfb7..27989f1ced 100644 --- a/types/lodash/array/uniq.d.ts +++ b/types/lodash/array/uniq.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a duplicate-free version of an array, using diff --git a/types/lodash/array/uniqBy.d.ts b/types/lodash/array/uniqBy.d.ts index 61345382c1..293c78bd77 100644 --- a/types/lodash/array/uniqBy.d.ts +++ b/types/lodash/array/uniqBy.d.ts @@ -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 diff --git a/types/lodash/array/uniqWith.d.ts b/types/lodash/array/uniqWith.d.ts index e5c28bb2d3..a3c41f3ebd 100644 --- a/types/lodash/array/uniqWith.d.ts +++ b/types/lodash/array/uniqWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.uniq` except that it accepts `comparator` which diff --git a/types/lodash/array/unzip.d.ts b/types/lodash/array/unzip.d.ts index c374a2369b..3985fe4904 100644 --- a/types/lodash/array/unzip.d.ts +++ b/types/lodash/array/unzip.d.ts @@ -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 diff --git a/types/lodash/array/unzipWith.d.ts b/types/lodash/array/unzipWith.d.ts index 2b0c0bf119..10740c24be 100644 --- a/types/lodash/array/unzipWith.d.ts +++ b/types/lodash/array/unzipWith.d.ts @@ -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 diff --git a/types/lodash/array/without.d.ts b/types/lodash/array/without.d.ts index d722342d89..0cb20cfb49 100644 --- a/types/lodash/array/without.d.ts +++ b/types/lodash/array/without.d.ts @@ -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. diff --git a/types/lodash/array/xor.d.ts b/types/lodash/array/xor.d.ts index 04eaa051e7..af6d8abeb8 100644 --- a/types/lodash/array/xor.d.ts +++ b/types/lodash/array/xor.d.ts @@ -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. diff --git a/types/lodash/array/xorBy.d.ts b/types/lodash/array/xorBy.d.ts index 6728c569dc..1badb50d3e 100644 --- a/types/lodash/array/xorBy.d.ts +++ b/types/lodash/array/xorBy.d.ts @@ -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 diff --git a/types/lodash/array/xorWith.d.ts b/types/lodash/array/xorWith.d.ts index cec73890d3..60f1198672 100644 --- a/types/lodash/array/xorWith.d.ts +++ b/types/lodash/array/xorWith.d.ts @@ -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 diff --git a/types/lodash/array/zip.d.ts b/types/lodash/array/zip.d.ts index 612899b87e..022b32a855 100644 --- a/types/lodash/array/zip.d.ts +++ b/types/lodash/array/zip.d.ts @@ -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, diff --git a/types/lodash/array/zipObject.d.ts b/types/lodash/array/zipObject.d.ts index 49b34166c2..93eef34818 100644 --- a/types/lodash/array/zipObject.d.ts +++ b/types/lodash/array/zipObject.d.ts @@ -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 diff --git a/types/lodash/array/zipObjectDeep.d.ts b/types/lodash/array/zipObjectDeep.d.ts index e68c5d1292..e178df291c 100644 --- a/types/lodash/array/zipObjectDeep.d.ts +++ b/types/lodash/array/zipObjectDeep.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.zipObject except that it supports property paths. diff --git a/types/lodash/array/zipWith.d.ts b/types/lodash/array/zipWith.d.ts index f0cef3776a..5a4b599c97 100644 --- a/types/lodash/array/zipWith.d.ts +++ b/types/lodash/array/zipWith.d.ts @@ -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 diff --git a/types/lodash/collection/countBy.d.ts b/types/lodash/collection/countBy.d.ts index 0a6a819c5f..32e87b1c1e 100644 --- a/types/lodash/collection/countBy.d.ts +++ b/types/lodash/collection/countBy.d.ts @@ -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 diff --git a/types/lodash/collection/each.d.ts b/types/lodash/collection/each.d.ts index a12df91b30..7b1c3072a1 100644 --- a/types/lodash/collection/each.d.ts +++ b/types/lodash/collection/each.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { each: typeof _.forEach; // tslint:disable-line:no-unnecessary-qualifier } diff --git a/types/lodash/collection/eachRight.d.ts b/types/lodash/collection/eachRight.d.ts index d8e448a486..29f42a1e8a 100644 --- a/types/lodash/collection/eachRight.d.ts +++ b/types/lodash/collection/eachRight.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { eachRight: typeof _.forEachRight; // tslint:disable-line:no-unnecessary-qualifier } diff --git a/types/lodash/collection/every.d.ts b/types/lodash/collection/every.d.ts index 76e6e659d7..2189631b82 100644 --- a/types/lodash/collection/every.d.ts +++ b/types/lodash/collection/every.d.ts @@ -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 diff --git a/types/lodash/collection/filter.d.ts b/types/lodash/collection/filter.d.ts index adfe9a22c7..1fb819882d 100644 --- a/types/lodash/collection/filter.d.ts +++ b/types/lodash/collection/filter.d.ts @@ -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 diff --git a/types/lodash/collection/find.d.ts b/types/lodash/collection/find.d.ts index d4593ac9d3..30e0666418 100644 --- a/types/lodash/collection/find.d.ts +++ b/types/lodash/collection/find.d.ts @@ -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. diff --git a/types/lodash/collection/findLast.d.ts b/types/lodash/collection/findLast.d.ts index 43b3dfbd28..b7e5fa6c63 100644 --- a/types/lodash/collection/findLast.d.ts +++ b/types/lodash/collection/findLast.d.ts @@ -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 diff --git a/types/lodash/collection/flatMap.d.ts b/types/lodash/collection/flatMap.d.ts index 8eec7ddea1..8e0bdc9f3d 100644 --- a/types/lodash/collection/flatMap.d.ts +++ b/types/lodash/collection/flatMap.d.ts @@ -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 diff --git a/types/lodash/collection/flatMapDeep.d.ts b/types/lodash/collection/flatMapDeep.d.ts index d15ce69070..c22c03767b 100644 --- a/types/lodash/collection/flatMapDeep.d.ts +++ b/types/lodash/collection/flatMapDeep.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.flatMap` except that it recursively flattens the diff --git a/types/lodash/collection/flatMapDepth.d.ts b/types/lodash/collection/flatMapDepth.d.ts index fd8004dc1a..42644f58dd 100644 --- a/types/lodash/collection/flatMapDepth.d.ts +++ b/types/lodash/collection/flatMapDepth.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.flatMap` except that it recursively flattens the diff --git a/types/lodash/collection/forEach.d.ts b/types/lodash/collection/forEach.d.ts index 8ede8dfc15..72847f15d1 100644 --- a/types/lodash/collection/forEach.d.ts +++ b/types/lodash/collection/forEach.d.ts @@ -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 diff --git a/types/lodash/collection/forEachRight.d.ts b/types/lodash/collection/forEachRight.d.ts index 67c3ec3b8b..aa75a72cd4 100644 --- a/types/lodash/collection/forEachRight.d.ts +++ b/types/lodash/collection/forEachRight.d.ts @@ -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. diff --git a/types/lodash/collection/groupBy.d.ts b/types/lodash/collection/groupBy.d.ts index 192154de0a..47b2dc49e4 100644 --- a/types/lodash/collection/groupBy.d.ts +++ b/types/lodash/collection/groupBy.d.ts @@ -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 diff --git a/types/lodash/collection/includes.d.ts b/types/lodash/collection/includes.d.ts index 76fcd79a6f..0f1989eba1 100644 --- a/types/lodash/collection/includes.d.ts +++ b/types/lodash/collection/includes.d.ts @@ -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, diff --git a/types/lodash/collection/invokeMap.d.ts b/types/lodash/collection/invokeMap.d.ts index 73c283fbde..9c025d23ee 100644 --- a/types/lodash/collection/invokeMap.d.ts +++ b/types/lodash/collection/invokeMap.d.ts @@ -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 diff --git a/types/lodash/collection/keyBy.d.ts b/types/lodash/collection/keyBy.d.ts index 47f2c35cc5..793caa6fa6 100644 --- a/types/lodash/collection/keyBy.d.ts +++ b/types/lodash/collection/keyBy.d.ts @@ -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 diff --git a/types/lodash/collection/map.d.ts b/types/lodash/collection/map.d.ts index 493f6300b6..cf6131c3cd 100644 --- a/types/lodash/collection/map.d.ts +++ b/types/lodash/collection/map.d.ts @@ -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 diff --git a/types/lodash/collection/orderBy.d.ts b/types/lodash/collection/orderBy.d.ts index bac15cefa4..3d8e4aa6e0 100644 --- a/types/lodash/collection/orderBy.d.ts +++ b/types/lodash/collection/orderBy.d.ts @@ -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 diff --git a/types/lodash/collection/partition.d.ts b/types/lodash/collection/partition.d.ts index e293220770..336ed2d25f 100644 --- a/types/lodash/collection/partition.d.ts +++ b/types/lodash/collection/partition.d.ts @@ -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, diff --git a/types/lodash/collection/reduce.d.ts b/types/lodash/collection/reduce.d.ts index f924a149bb..88ec1f772d 100644 --- a/types/lodash/collection/reduce.d.ts +++ b/types/lodash/collection/reduce.d.ts @@ -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 diff --git a/types/lodash/collection/reduceRight.d.ts b/types/lodash/collection/reduceRight.d.ts index d250def9a6..d53bf79ea0 100644 --- a/types/lodash/collection/reduceRight.d.ts +++ b/types/lodash/collection/reduceRight.d.ts @@ -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 diff --git a/types/lodash/collection/reject.d.ts b/types/lodash/collection/reject.d.ts index a475baf1ee..4e4e8c5f26 100644 --- a/types/lodash/collection/reject.d.ts +++ b/types/lodash/collection/reject.d.ts @@ -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 diff --git a/types/lodash/collection/sample.d.ts b/types/lodash/collection/sample.d.ts index f078711033..2bcbf34ff8 100644 --- a/types/lodash/collection/sample.d.ts +++ b/types/lodash/collection/sample.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Gets a random element from collection. diff --git a/types/lodash/collection/sampleSize.d.ts b/types/lodash/collection/sampleSize.d.ts index e21ed6eea4..1a607d9837 100644 --- a/types/lodash/collection/sampleSize.d.ts +++ b/types/lodash/collection/sampleSize.d.ts @@ -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. diff --git a/types/lodash/collection/shuffle.d.ts b/types/lodash/collection/shuffle.d.ts index 0c91dc097d..653f080e2f 100644 --- a/types/lodash/collection/shuffle.d.ts +++ b/types/lodash/collection/shuffle.d.ts @@ -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. diff --git a/types/lodash/collection/size.d.ts b/types/lodash/collection/size.d.ts index 6653becb5f..7b036b3e28 100644 --- a/types/lodash/collection/size.d.ts +++ b/types/lodash/collection/size.d.ts @@ -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 diff --git a/types/lodash/collection/some.d.ts b/types/lodash/collection/some.d.ts index b6393023ec..ca40a0b5a0 100644 --- a/types/lodash/collection/some.d.ts +++ b/types/lodash/collection/some.d.ts @@ -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 diff --git a/types/lodash/collection/sortBy.d.ts b/types/lodash/collection/sortBy.d.ts index c2bcdcf9e8..61f0827151 100644 --- a/types/lodash/collection/sortBy.d.ts +++ b/types/lodash/collection/sortBy.d.ts @@ -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 diff --git a/types/lodash/common/common.d.ts b/types/lodash/common/common.d.ts index 930525f1f0..90a902e40c 100644 --- a/types/lodash/common/common.d.ts +++ b/types/lodash/common/common.d.ts @@ -1,6 +1,7 @@ -declare let _: _.LoDashStatic; -type PartialObject = Partial; -declare namespace _ { +import * as _ from ".."; +type GlobalPartial = Partial; +declare module ".." { + type PartialObject = GlobalPartial; type Many = T | T[]; interface LoDashStatic { /** diff --git a/types/lodash/date/now.d.ts b/types/lodash/date/now.d.ts index 1213cc0ea1..ec447f382c 100644 --- a/types/lodash/date/now.d.ts +++ b/types/lodash/date/now.d.ts @@ -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). diff --git a/types/lodash/function/after.d.ts b/types/lodash/function/after.d.ts index 4585a1a87d..e82a63a6ff 100644 --- a/types/lodash/function/after.d.ts +++ b/types/lodash/function/after.d.ts @@ -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. diff --git a/types/lodash/function/ary.d.ts b/types/lodash/function/ary.d.ts index 3e81a1b72c..899a636c83 100644 --- a/types/lodash/function/ary.d.ts +++ b/types/lodash/function/ary.d.ts @@ -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. diff --git a/types/lodash/function/before.d.ts b/types/lodash/function/before.d.ts index 3d2df831da..2132287ba3 100644 --- a/types/lodash/function/before.d.ts +++ b/types/lodash/function/before.d.ts @@ -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 diff --git a/types/lodash/function/bind.d.ts b/types/lodash/function/bind.d.ts index 73311a37b7..e53a6b093f 100644 --- a/types/lodash/function/bind.d.ts +++ b/types/lodash/function/bind.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface FunctionBind { placeholder: any; diff --git a/types/lodash/function/bindKey.d.ts b/types/lodash/function/bindKey.d.ts index 8cf23ae4a1..8e31d388be 100644 --- a/types/lodash/function/bindKey.d.ts +++ b/types/lodash/function/bindKey.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface FunctionBindKey { placeholder: any; diff --git a/types/lodash/function/curry.d.ts b/types/lodash/function/curry.d.ts index 5810d89a9b..d8ef45cef1 100644 --- a/types/lodash/function/curry.d.ts +++ b/types/lodash/function/curry.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that accepts one or more arguments of func that when called either invokes func returning diff --git a/types/lodash/function/curryRight.d.ts b/types/lodash/function/curryRight.d.ts index 73249d8fe8..ae61d5088c 100644 --- a/types/lodash/function/curryRight.d.ts +++ b/types/lodash/function/curryRight.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight diff --git a/types/lodash/function/debounce.d.ts b/types/lodash/function/debounce.d.ts index ef3adff643..45f700f49d 100644 --- a/types/lodash/function/debounce.d.ts +++ b/types/lodash/function/debounce.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface DebounceSettings { /** * Specify invoking on the leading edge of the timeout. diff --git a/types/lodash/function/defer.d.ts b/types/lodash/function/defer.d.ts index 15488207c9..43f0f3907f 100644 --- a/types/lodash/function/defer.d.ts +++ b/types/lodash/function/defer.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to diff --git a/types/lodash/function/delay.d.ts b/types/lodash/function/delay.d.ts index 4273689166..2590af45f1 100644 --- a/types/lodash/function/delay.d.ts +++ b/types/lodash/function/delay.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked. diff --git a/types/lodash/function/flip.d.ts b/types/lodash/function/flip.d.ts index 428dcf774d..744874cbcc 100644 --- a/types/lodash/function/flip.d.ts +++ b/types/lodash/function/flip.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that invokes `func` with arguments reversed. diff --git a/types/lodash/function/memoize.d.ts b/types/lodash/function/memoize.d.ts index 88257bd8ce..fd5d6e0481 100644 --- a/types/lodash/function/memoize.d.ts +++ b/types/lodash/function/memoize.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface MemoizedFunction { cache: MapCache; } diff --git a/types/lodash/function/negate.d.ts b/types/lodash/function/negate.d.ts index b42e395cf6..56ece2d62a 100644 --- a/types/lodash/function/negate.d.ts +++ b/types/lodash/function/negate.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that negates the result of the predicate func. The func predicate is invoked with diff --git a/types/lodash/function/once.d.ts b/types/lodash/function/once.d.ts index a49423171f..6fd5b51806 100644 --- a/types/lodash/function/once.d.ts +++ b/types/lodash/function/once.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value diff --git a/types/lodash/function/overArgs.d.ts b/types/lodash/function/overArgs.d.ts index 6cc5cf6c41..3b73beed35 100644 --- a/types/lodash/function/overArgs.d.ts +++ b/types/lodash/function/overArgs.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that runs each argument through a corresponding transform function. diff --git a/types/lodash/function/partial.d.ts b/types/lodash/function/partial.d.ts index 1d15995cea..cf9d1a647f 100644 --- a/types/lodash/function/partial.d.ts +++ b/types/lodash/function/partial.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that, when called, invokes func with any additional partial arguments diff --git a/types/lodash/function/partialRight.d.ts b/types/lodash/function/partialRight.d.ts index e0280262e8..09aee9dad5 100644 --- a/types/lodash/function/partialRight.d.ts +++ b/types/lodash/function/partialRight.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.partial except that partial arguments are appended to those provided diff --git a/types/lodash/function/rearg.d.ts b/types/lodash/function/rearg.d.ts index bcabbbb62b..edd0c9a1f7 100644 --- a/types/lodash/function/rearg.d.ts +++ b/types/lodash/function/rearg.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that invokes func with arguments arranged according to the specified indexes where the diff --git a/types/lodash/function/rest.d.ts b/types/lodash/function/rest.d.ts index 738f206967..eb00588fdf 100644 --- a/types/lodash/function/rest.d.ts +++ b/types/lodash/function/rest.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that invokes func with the this binding of the created function and arguments from start diff --git a/types/lodash/function/spread.d.ts b/types/lodash/function/spread.d.ts index 36aab5fe33..9a1a573c84 100644 --- a/types/lodash/function/spread.d.ts +++ b/types/lodash/function/spread.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that invokes func with the this binding of the created function and an array of arguments diff --git a/types/lodash/function/throttle.d.ts b/types/lodash/function/throttle.d.ts index 37a1c60bec..782e5a88d5 100644 --- a/types/lodash/function/throttle.d.ts +++ b/types/lodash/function/throttle.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface ThrottleSettings { /** * If you'd like to disable the leading-edge call, pass this as false. diff --git a/types/lodash/function/unary.d.ts b/types/lodash/function/unary.d.ts index 810f359a6c..f04fd11599 100644 --- a/types/lodash/function/unary.d.ts +++ b/types/lodash/function/unary.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that accepts up to one argument, ignoring any diff --git a/types/lodash/function/wrap.d.ts b/types/lodash/function/wrap.d.ts index f00a27fc74..91623cf894 100644 --- a/types/lodash/function/wrap.d.ts +++ b/types/lodash/function/wrap.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that provides value to the wrapper function as its first argument. Any additional diff --git a/types/lodash/index.d.ts b/types/lodash/index.d.ts index aeebd3b5c2..fd421681c1 100644 --- a/types/lodash/index.d.ts +++ b/types/lodash/index.d.ts @@ -355,6 +355,12 @@ export = _; export as namespace _; +declare const _: _.LoDashStatic; +declare namespace _ { + // tslint:disable-next-line no-empty-interface (This will be augmented) + interface LoDashStatic {} +} + // Backward compatibility with --target es5 declare global { // tslint:disable-next-line:no-empty-interface diff --git a/types/lodash/lang/castArray.d.ts b/types/lodash/lang/castArray.d.ts index 33b7d83771..8601d00aa0 100644 --- a/types/lodash/lang/castArray.d.ts +++ b/types/lodash/lang/castArray.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Casts value as an array if it’s not one. diff --git a/types/lodash/lang/clone.d.ts b/types/lodash/lang/clone.d.ts index 5e3405e68a..48a416f1c0 100644 --- a/types/lodash/lang/clone.d.ts +++ b/types/lodash/lang/clone.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a shallow clone of value. diff --git a/types/lodash/lang/cloneDeep.d.ts b/types/lodash/lang/cloneDeep.d.ts index 73099ff92a..4200339178 100644 --- a/types/lodash/lang/cloneDeep.d.ts +++ b/types/lodash/lang/cloneDeep.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.clone except that it recursively clones value. diff --git a/types/lodash/lang/cloneDeepWith.d.ts b/types/lodash/lang/cloneDeepWith.d.ts index 7805a598f0..07d8498945 100644 --- a/types/lodash/lang/cloneDeepWith.d.ts +++ b/types/lodash/lang/cloneDeepWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type CloneDeepWithCustomizer = (value: any, key: number | string | undefined, object: TObject | undefined, stack: any) => any; interface LoDashStatic { diff --git a/types/lodash/lang/cloneWith.d.ts b/types/lodash/lang/cloneWith.d.ts index 2135d0ed53..0c9ee9ad36 100644 --- a/types/lodash/lang/cloneWith.d.ts +++ b/types/lodash/lang/cloneWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type CloneWithCustomizer = (value: TValue, key: number | string | undefined, object: any, stack: any) => TResult; interface LoDashStatic { diff --git a/types/lodash/lang/conformsTo.d.ts b/types/lodash/lang/conformsTo.d.ts index 859186f97c..dd83a54964 100644 --- a/types/lodash/lang/conformsTo.d.ts +++ b/types/lodash/lang/conformsTo.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** diff --git a/types/lodash/lang/eq.d.ts b/types/lodash/lang/eq.d.ts index 08d4fb9497..0d1bf0e6ee 100644 --- a/types/lodash/lang/eq.d.ts +++ b/types/lodash/lang/eq.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) diff --git a/types/lodash/lang/gt.d.ts b/types/lodash/lang/gt.d.ts index 6d63801d1e..048600fb52 100644 --- a/types/lodash/lang/gt.d.ts +++ b/types/lodash/lang/gt.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is greater than other. diff --git a/types/lodash/lang/gte.d.ts b/types/lodash/lang/gte.d.ts index 43887befcd..20084cba0b 100644 --- a/types/lodash/lang/gte.d.ts +++ b/types/lodash/lang/gte.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is greater than or equal to other. diff --git a/types/lodash/lang/isArguments.d.ts b/types/lodash/lang/isArguments.d.ts index e2549b24f6..824eec3539 100644 --- a/types/lodash/lang/isArguments.d.ts +++ b/types/lodash/lang/isArguments.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as an arguments object. diff --git a/types/lodash/lang/isArray.d.ts b/types/lodash/lang/isArray.d.ts index 0218c836d8..99a358a7ad 100644 --- a/types/lodash/lang/isArray.d.ts +++ b/types/lodash/lang/isArray.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as an Array object. diff --git a/types/lodash/lang/isArrayBuffer.d.ts b/types/lodash/lang/isArrayBuffer.d.ts index c6e9d8cd05..e647ed90a1 100644 --- a/types/lodash/lang/isArrayBuffer.d.ts +++ b/types/lodash/lang/isArrayBuffer.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as an ArrayBuffer object. diff --git a/types/lodash/lang/isArrayLike.d.ts b/types/lodash/lang/isArrayLike.d.ts index edf5e419bd..ee1a12fa2a 100644 --- a/types/lodash/lang/isArrayLike.d.ts +++ b/types/lodash/lang/isArrayLike.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `value` is array-like. A value is considered array-like if it's diff --git a/types/lodash/lang/isArrayLikeObject.d.ts b/types/lodash/lang/isArrayLikeObject.d.ts index acdc7b9a50..876f626d0d 100644 --- a/types/lodash/lang/isArrayLikeObject.d.ts +++ b/types/lodash/lang/isArrayLikeObject.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.isArrayLike` except that it also checks if `value` diff --git a/types/lodash/lang/isBoolean.d.ts b/types/lodash/lang/isBoolean.d.ts index fea535c696..4b3d4265b7 100644 --- a/types/lodash/lang/isBoolean.d.ts +++ b/types/lodash/lang/isBoolean.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a boolean primitive or object. diff --git a/types/lodash/lang/isBuffer.d.ts b/types/lodash/lang/isBuffer.d.ts index 333fef2a20..c5f30f41c2 100644 --- a/types/lodash/lang/isBuffer.d.ts +++ b/types/lodash/lang/isBuffer.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is a buffer. diff --git a/types/lodash/lang/isDate.d.ts b/types/lodash/lang/isDate.d.ts index f220b1fa66..32503f88b5 100644 --- a/types/lodash/lang/isDate.d.ts +++ b/types/lodash/lang/isDate.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a Date object. diff --git a/types/lodash/lang/isElement.d.ts b/types/lodash/lang/isElement.d.ts index 2e0bafd105..65606eba0c 100644 --- a/types/lodash/lang/isElement.d.ts +++ b/types/lodash/lang/isElement.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is a DOM element. diff --git a/types/lodash/lang/isEmpty.d.ts b/types/lodash/lang/isEmpty.d.ts index c19139b8d3..3bb2e6c5b5 100644 --- a/types/lodash/lang/isEmpty.d.ts +++ b/types/lodash/lang/isEmpty.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or diff --git a/types/lodash/lang/isEqual.d.ts b/types/lodash/lang/isEqual.d.ts index c8d9449d45..756bb6f2a7 100644 --- a/types/lodash/lang/isEqual.d.ts +++ b/types/lodash/lang/isEqual.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Performs a deep comparison between two values to determine if they are diff --git a/types/lodash/lang/isEqualWith.d.ts b/types/lodash/lang/isEqualWith.d.ts index 8e0e41a52c..7a30842963 100644 --- a/types/lodash/lang/isEqualWith.d.ts +++ b/types/lodash/lang/isEqualWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type IsEqualCustomizer = (value: any, other: any, indexOrKey: PropertyName | undefined, parent: any, otherParent: any, stack: any) => boolean|undefined; interface LoDashStatic { diff --git a/types/lodash/lang/isError.d.ts b/types/lodash/lang/isError.d.ts index a33c934906..83b8f50d68 100644 --- a/types/lodash/lang/isError.d.ts +++ b/types/lodash/lang/isError.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError diff --git a/types/lodash/lang/isFinite.d.ts b/types/lodash/lang/isFinite.d.ts index 8fb984b178..60029ad66a 100644 --- a/types/lodash/lang/isFinite.d.ts +++ b/types/lodash/lang/isFinite.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is a finite primitive number. diff --git a/types/lodash/lang/isFunction.d.ts b/types/lodash/lang/isFunction.d.ts index 067da708b3..ef6ccfd491 100644 --- a/types/lodash/lang/isFunction.d.ts +++ b/types/lodash/lang/isFunction.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is a callable function. diff --git a/types/lodash/lang/isInteger.d.ts b/types/lodash/lang/isInteger.d.ts index 125575c051..e733314032 100644 --- a/types/lodash/lang/isInteger.d.ts +++ b/types/lodash/lang/isInteger.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `value` is an integer. diff --git a/types/lodash/lang/isLength.d.ts b/types/lodash/lang/isLength.d.ts index a0449ef93c..e931991029 100644 --- a/types/lodash/lang/isLength.d.ts +++ b/types/lodash/lang/isLength.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `value` is a valid array-like length. diff --git a/types/lodash/lang/isMap.d.ts b/types/lodash/lang/isMap.d.ts index 9ce44582a1..6ce1749472 100644 --- a/types/lodash/lang/isMap.d.ts +++ b/types/lodash/lang/isMap.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a Map object. diff --git a/types/lodash/lang/isMatch.d.ts b/types/lodash/lang/isMatch.d.ts index 199a64c2cd..e2692b12f9 100644 --- a/types/lodash/lang/isMatch.d.ts +++ b/types/lodash/lang/isMatch.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type isMatchCustomizer = (value: any, other: any, indexOrKey?: PropertyName) => boolean; interface LoDashStatic { diff --git a/types/lodash/lang/isMatchWith.d.ts b/types/lodash/lang/isMatchWith.d.ts index 516b9b9947..336d77835f 100644 --- a/types/lodash/lang/isMatchWith.d.ts +++ b/types/lodash/lang/isMatchWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName) => boolean; interface LoDashStatic { diff --git a/types/lodash/lang/isNaN.d.ts b/types/lodash/lang/isNaN.d.ts index 7ac79bc794..1b4e5a87c4 100644 --- a/types/lodash/lang/isNaN.d.ts +++ b/types/lodash/lang/isNaN.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is NaN. diff --git a/types/lodash/lang/isNative.d.ts b/types/lodash/lang/isNative.d.ts index a1c0e2ff30..eaac7f0a07 100644 --- a/types/lodash/lang/isNative.d.ts +++ b/types/lodash/lang/isNative.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is a native function. diff --git a/types/lodash/lang/isNil.d.ts b/types/lodash/lang/isNil.d.ts index d44c1f3893..bd52380c19 100644 --- a/types/lodash/lang/isNil.d.ts +++ b/types/lodash/lang/isNil.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `value` is `null` or `undefined`. diff --git a/types/lodash/lang/isNull.d.ts b/types/lodash/lang/isNull.d.ts index 7978835f2d..c6ff509876 100644 --- a/types/lodash/lang/isNull.d.ts +++ b/types/lodash/lang/isNull.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is null. diff --git a/types/lodash/lang/isNumber.d.ts b/types/lodash/lang/isNumber.d.ts index 1bfd01db46..da06964d79 100644 --- a/types/lodash/lang/isNumber.d.ts +++ b/types/lodash/lang/isNumber.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a Number primitive or object. diff --git a/types/lodash/lang/isObject.d.ts b/types/lodash/lang/isObject.d.ts index c9b47124a0..035b92473a 100644 --- a/types/lodash/lang/isObject.d.ts +++ b/types/lodash/lang/isObject.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), diff --git a/types/lodash/lang/isObjectLike.d.ts b/types/lodash/lang/isObjectLike.d.ts index dfb1d20a1a..52d1f8886c 100644 --- a/types/lodash/lang/isObjectLike.d.ts +++ b/types/lodash/lang/isObjectLike.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `value` is object-like. A value is object-like if it's not `null` diff --git a/types/lodash/lang/isPlainObject.d.ts b/types/lodash/lang/isPlainObject.d.ts index e9708075ef..3e6abd643f 100644 --- a/types/lodash/lang/isPlainObject.d.ts +++ b/types/lodash/lang/isPlainObject.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is a plain object, that is, an object created by the Object constructor or one with a diff --git a/types/lodash/lang/isRegExp.d.ts b/types/lodash/lang/isRegExp.d.ts index 7e60fc4012..b9bd551d0b 100644 --- a/types/lodash/lang/isRegExp.d.ts +++ b/types/lodash/lang/isRegExp.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a RegExp object. diff --git a/types/lodash/lang/isSafeInteger.d.ts b/types/lodash/lang/isSafeInteger.d.ts index 3c51308410..772c148e7c 100644 --- a/types/lodash/lang/isSafeInteger.d.ts +++ b/types/lodash/lang/isSafeInteger.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 diff --git a/types/lodash/lang/isSet.d.ts b/types/lodash/lang/isSet.d.ts index ae92840e4e..8982636f94 100644 --- a/types/lodash/lang/isSet.d.ts +++ b/types/lodash/lang/isSet.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a Set object. diff --git a/types/lodash/lang/isString.d.ts b/types/lodash/lang/isString.d.ts index dff362cde4..daf178024a 100644 --- a/types/lodash/lang/isString.d.ts +++ b/types/lodash/lang/isString.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a String primitive or object. diff --git a/types/lodash/lang/isSymbol.d.ts b/types/lodash/lang/isSymbol.d.ts index cd6c142ea2..d2f6a47445 100644 --- a/types/lodash/lang/isSymbol.d.ts +++ b/types/lodash/lang/isSymbol.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `value` is classified as a `Symbol` primitive or object. diff --git a/types/lodash/lang/isTypedArray.d.ts b/types/lodash/lang/isTypedArray.d.ts index 29309c7ced..d825531977 100644 --- a/types/lodash/lang/isTypedArray.d.ts +++ b/types/lodash/lang/isTypedArray.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a typed array. diff --git a/types/lodash/lang/isUndefined.d.ts b/types/lodash/lang/isUndefined.d.ts index 02a5697b74..37383538e8 100644 --- a/types/lodash/lang/isUndefined.d.ts +++ b/types/lodash/lang/isUndefined.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is undefined. diff --git a/types/lodash/lang/isWeakMap.d.ts b/types/lodash/lang/isWeakMap.d.ts index b6f009c535..9123ba2372 100644 --- a/types/lodash/lang/isWeakMap.d.ts +++ b/types/lodash/lang/isWeakMap.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a WeakMap object. diff --git a/types/lodash/lang/isWeakSet.d.ts b/types/lodash/lang/isWeakSet.d.ts index cb06d4c9b5..f23639aff9 100644 --- a/types/lodash/lang/isWeakSet.d.ts +++ b/types/lodash/lang/isWeakSet.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is classified as a WeakSet object. diff --git a/types/lodash/lang/lt.d.ts b/types/lodash/lang/lt.d.ts index a9ce5e6c4d..c9fda4ce84 100644 --- a/types/lodash/lang/lt.d.ts +++ b/types/lodash/lang/lt.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is less than other. diff --git a/types/lodash/lang/lte.d.ts b/types/lodash/lang/lte.d.ts index b8fac76627..b8969f444d 100644 --- a/types/lodash/lang/lte.d.ts +++ b/types/lodash/lang/lte.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if value is less than or equal to other. diff --git a/types/lodash/lang/toArray.d.ts b/types/lodash/lang/toArray.d.ts index 6dd5ef8e27..2f491b0d2c 100644 --- a/types/lodash/lang/toArray.d.ts +++ b/types/lodash/lang/toArray.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts value to an array. diff --git a/types/lodash/lang/toFinite.d.ts b/types/lodash/lang/toFinite.d.ts index 0d14f49715..5520b0c9d9 100644 --- a/types/lodash/lang/toFinite.d.ts +++ b/types/lodash/lang/toFinite.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `value` to a finite number. diff --git a/types/lodash/lang/toInteger.d.ts b/types/lodash/lang/toInteger.d.ts index 7e0b865078..df40d975e6 100644 --- a/types/lodash/lang/toInteger.d.ts +++ b/types/lodash/lang/toInteger.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `value` to an integer. diff --git a/types/lodash/lang/toLength.d.ts b/types/lodash/lang/toLength.d.ts index dcc84d78ee..3d2193e5b4 100644 --- a/types/lodash/lang/toLength.d.ts +++ b/types/lodash/lang/toLength.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `value` to an integer suitable for use as the length of an diff --git a/types/lodash/lang/toNumber.d.ts b/types/lodash/lang/toNumber.d.ts index 76c0032391..a706711f8f 100644 --- a/types/lodash/lang/toNumber.d.ts +++ b/types/lodash/lang/toNumber.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `value` to a number. diff --git a/types/lodash/lang/toPlainObject.d.ts b/types/lodash/lang/toPlainObject.d.ts index 9ae43dcf62..db930b2aec 100644 --- a/types/lodash/lang/toPlainObject.d.ts +++ b/types/lodash/lang/toPlainObject.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts value to a plain object flattening inherited enumerable properties of value to own properties diff --git a/types/lodash/lang/toSafeInteger.d.ts b/types/lodash/lang/toSafeInteger.d.ts index 88e517d42c..5d760d3e05 100644 --- a/types/lodash/lang/toSafeInteger.d.ts +++ b/types/lodash/lang/toSafeInteger.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `value` to a safe integer. A safe integer can be compared and diff --git a/types/lodash/lang/toString.d.ts b/types/lodash/lang/toString.d.ts index 1b461d1217..b06cab7017 100644 --- a/types/lodash/lang/toString.d.ts +++ b/types/lodash/lang/toString.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `value` to a string if it's not one. An empty string is returned diff --git a/types/lodash/math/add.d.ts b/types/lodash/math/add.d.ts index 5e026fc671..a70d9a33de 100644 --- a/types/lodash/math/add.d.ts +++ b/types/lodash/math/add.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Adds two numbers. diff --git a/types/lodash/math/ceil.d.ts b/types/lodash/math/ceil.d.ts index 1977160c4e..e85a9c0afa 100644 --- a/types/lodash/math/ceil.d.ts +++ b/types/lodash/math/ceil.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Calculates n rounded up to precision. diff --git a/types/lodash/math/divide.d.ts b/types/lodash/math/divide.d.ts index 5af529f97f..fbebf388f1 100644 --- a/types/lodash/math/divide.d.ts +++ b/types/lodash/math/divide.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Divide two numbers. diff --git a/types/lodash/math/floor.d.ts b/types/lodash/math/floor.d.ts index db8d35def3..29dc3dcb9e 100644 --- a/types/lodash/math/floor.d.ts +++ b/types/lodash/math/floor.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Calculates n rounded down to precision. diff --git a/types/lodash/math/max.d.ts b/types/lodash/math/max.d.ts index 8a6108ab16..1762b6a6d2 100644 --- a/types/lodash/math/max.d.ts +++ b/types/lodash/math/max.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Computes the maximum value of `array`. If `array` is empty or falsey diff --git a/types/lodash/math/maxBy.d.ts b/types/lodash/math/maxBy.d.ts index 1b57efb78c..e8bf5b46ed 100644 --- a/types/lodash/math/maxBy.d.ts +++ b/types/lodash/math/maxBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.max` except that it accepts `iteratee` which is diff --git a/types/lodash/math/mean.d.ts b/types/lodash/math/mean.d.ts index ea2f39a952..add23d7813 100644 --- a/types/lodash/math/mean.d.ts +++ b/types/lodash/math/mean.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Computes the mean of the values in `array`. diff --git a/types/lodash/math/meanBy.d.ts b/types/lodash/math/meanBy.d.ts index c3ff1fded4..2efe301eb2 100644 --- a/types/lodash/math/meanBy.d.ts +++ b/types/lodash/math/meanBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Computes the mean of the provided propties of the objects in the `array` diff --git a/types/lodash/math/min.d.ts b/types/lodash/math/min.d.ts index 6d0bc8ab60..6b1b5c19c4 100644 --- a/types/lodash/math/min.d.ts +++ b/types/lodash/math/min.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Computes the minimum value of `array`. If `array` is empty or falsey diff --git a/types/lodash/math/minBy.d.ts b/types/lodash/math/minBy.d.ts index 2e70263af8..64d9298336 100644 --- a/types/lodash/math/minBy.d.ts +++ b/types/lodash/math/minBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.min` except that it accepts `iteratee` which is diff --git a/types/lodash/math/multiply.d.ts b/types/lodash/math/multiply.d.ts index 6381b4f2d8..a1bbec12e5 100644 --- a/types/lodash/math/multiply.d.ts +++ b/types/lodash/math/multiply.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Multiply two numbers. diff --git a/types/lodash/math/round.d.ts b/types/lodash/math/round.d.ts index b3bc0dcaa1..3030cb33e6 100644 --- a/types/lodash/math/round.d.ts +++ b/types/lodash/math/round.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Calculates n rounded to precision. diff --git a/types/lodash/math/subtract.d.ts b/types/lodash/math/subtract.d.ts index 0c1ddabcca..68e98cfb85 100644 --- a/types/lodash/math/subtract.d.ts +++ b/types/lodash/math/subtract.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Subtract two numbers. diff --git a/types/lodash/math/sum.d.ts b/types/lodash/math/sum.d.ts index de92ef1f0d..ad20bf0768 100644 --- a/types/lodash/math/sum.d.ts +++ b/types/lodash/math/sum.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Computes the sum of the values in `array`. diff --git a/types/lodash/math/sumBy.d.ts b/types/lodash/math/sumBy.d.ts index 05e836325a..f811b018b9 100644 --- a/types/lodash/math/sumBy.d.ts +++ b/types/lodash/math/sumBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.sum` except that it accepts `iteratee` which is diff --git a/types/lodash/number/clamp.d.ts b/types/lodash/number/clamp.d.ts index e7aff8c4ae..6d5926fe9e 100644 --- a/types/lodash/number/clamp.d.ts +++ b/types/lodash/number/clamp.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Clamps `number` within the inclusive `lower` and `upper` bounds. diff --git a/types/lodash/number/inRange.d.ts b/types/lodash/number/inRange.d.ts index 0e3fd3ed8e..26ddbdfb33 100644 --- a/types/lodash/number/inRange.d.ts +++ b/types/lodash/number/inRange.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { 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 diff --git a/types/lodash/number/random.d.ts b/types/lodash/number/random.d.ts index 112e579896..a33f964b5e 100644 --- a/types/lodash/number/random.d.ts +++ b/types/lodash/number/random.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Produces a random number between min and max (inclusive). If only one argument is provided a number between diff --git a/types/lodash/object/assign.d.ts b/types/lodash/object/assign.d.ts index e329c27ab5..97cb5e24f3 100644 --- a/types/lodash/object/assign.d.ts +++ b/types/lodash/object/assign.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Assigns own enumerable properties of source objects to the destination diff --git a/types/lodash/object/assignIn.d.ts b/types/lodash/object/assignIn.d.ts index a5981e75a0..f8a42562f6 100644 --- a/types/lodash/object/assignIn.d.ts +++ b/types/lodash/object/assignIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.assign` except that it iterates over own and diff --git a/types/lodash/object/assignInWith.d.ts b/types/lodash/object/assignInWith.d.ts index 85a6311cda..854c10d71b 100644 --- a/types/lodash/object/assignInWith.d.ts +++ b/types/lodash/object/assignInWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type AssignCustomizer = (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}) => any; interface LoDashStatic { diff --git a/types/lodash/object/assignWith.d.ts b/types/lodash/object/assignWith.d.ts index e31cd8d9bc..9fc432dec2 100644 --- a/types/lodash/object/assignWith.d.ts +++ b/types/lodash/object/assignWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.assign` except that it accepts `customizer` which diff --git a/types/lodash/object/at.d.ts b/types/lodash/object/at.d.ts index d6046e597d..a6d0dbb9c2 100644 --- a/types/lodash/object/at.d.ts +++ b/types/lodash/object/at.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be diff --git a/types/lodash/object/create.d.ts b/types/lodash/object/create.d.ts index 025b4dbe66..de9d3bebb4 100644 --- a/types/lodash/object/create.d.ts +++ b/types/lodash/object/create.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an object that inherits from the given prototype object. If a properties object is provided its own diff --git a/types/lodash/object/defaults.d.ts b/types/lodash/object/defaults.d.ts index ea53dbddc5..6c3f957870 100644 --- a/types/lodash/object/defaults.d.ts +++ b/types/lodash/object/defaults.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Assigns own enumerable properties of source object(s) to the destination object for all destination diff --git a/types/lodash/object/defaultsDeep.d.ts b/types/lodash/object/defaultsDeep.d.ts index 89ba6b9b7e..c7eb226d09 100644 --- a/types/lodash/object/defaultsDeep.d.ts +++ b/types/lodash/object/defaultsDeep.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.defaults except that it recursively assigns default properties. diff --git a/types/lodash/object/entries.d.ts b/types/lodash/object/entries.d.ts index fee39417ae..4502486a2c 100644 --- a/types/lodash/object/entries.d.ts +++ b/types/lodash/object/entries.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * @see _.toPairs diff --git a/types/lodash/object/entriesIn.d.ts b/types/lodash/object/entriesIn.d.ts index 8df728058d..3af8c419b9 100644 --- a/types/lodash/object/entriesIn.d.ts +++ b/types/lodash/object/entriesIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * @see _.entriesIn diff --git a/types/lodash/object/extend.d.ts b/types/lodash/object/extend.d.ts index 17ce0232fa..d2a2075ee7 100644 --- a/types/lodash/object/extend.d.ts +++ b/types/lodash/object/extend.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * @see _.extend diff --git a/types/lodash/object/extendWith.d.ts b/types/lodash/object/extendWith.d.ts index d02803cf32..49f72f4f8d 100644 --- a/types/lodash/object/extendWith.d.ts +++ b/types/lodash/object/extendWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * @see _.extendWith diff --git a/types/lodash/object/findKey.d.ts b/types/lodash/object/findKey.d.ts index 768c8aa3aa..6bba2b2e5c 100644 --- a/types/lodash/object/findKey.d.ts +++ b/types/lodash/object/findKey.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.find except that it returns the key of the first element predicate returns truthy for diff --git a/types/lodash/object/findLastKey.d.ts b/types/lodash/object/findLastKey.d.ts index e772dc3f80..8337b89fe3 100644 --- a/types/lodash/object/findLastKey.d.ts +++ b/types/lodash/object/findLastKey.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.findKey except that it iterates over elements of a collection in the opposite order. diff --git a/types/lodash/object/forIn.d.ts b/types/lodash/object/forIn.d.ts index a5e700aa22..6c18877b83 100644 --- a/types/lodash/object/forIn.d.ts +++ b/types/lodash/object/forIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Iterates over own and inherited enumerable properties of an object invoking iteratee for each property. The diff --git a/types/lodash/object/forInRight.d.ts b/types/lodash/object/forInRight.d.ts index 98506ebc4e..67d11d6a7a 100644 --- a/types/lodash/object/forInRight.d.ts +++ b/types/lodash/object/forInRight.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.forIn except that it iterates over properties of object in the opposite order. diff --git a/types/lodash/object/forOwn.d.ts b/types/lodash/object/forOwn.d.ts index 84b389080f..349d7b1125 100644 --- a/types/lodash/object/forOwn.d.ts +++ b/types/lodash/object/forOwn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is diff --git a/types/lodash/object/forOwnRight.d.ts b/types/lodash/object/forOwnRight.d.ts index fc8160edff..20a19c4dbe 100644 --- a/types/lodash/object/forOwnRight.d.ts +++ b/types/lodash/object/forOwnRight.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.forOwn except that it iterates over properties of object in the opposite order. diff --git a/types/lodash/object/functions.d.ts b/types/lodash/object/functions.d.ts index 9871ffdc81..d0d61b11ce 100644 --- a/types/lodash/object/functions.d.ts +++ b/types/lodash/object/functions.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of function property names from own enumerable properties diff --git a/types/lodash/object/functionsIn.d.ts b/types/lodash/object/functionsIn.d.ts index 959f05743b..7c174e97bf 100644 --- a/types/lodash/object/functionsIn.d.ts +++ b/types/lodash/object/functionsIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of function property names from own and inherited diff --git a/types/lodash/object/get.d.ts b/types/lodash/object/get.d.ts index 957eaf716e..eccc827a1b 100644 --- a/types/lodash/object/get.d.ts +++ b/types/lodash/object/get.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Gets the property value at path of object. If the resolved value is undefined the defaultValue is used diff --git a/types/lodash/object/has.d.ts b/types/lodash/object/has.d.ts index b8dc9ffc4d..ac2bc73200 100644 --- a/types/lodash/object/has.d.ts +++ b/types/lodash/object/has.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `path` is a direct property of `object`. diff --git a/types/lodash/object/hasIn.d.ts b/types/lodash/object/hasIn.d.ts index 58917bdb19..ca51bf4e38 100644 --- a/types/lodash/object/hasIn.d.ts +++ b/types/lodash/object/hasIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if `path` is a direct or inherited property of `object`. diff --git a/types/lodash/object/invert.d.ts b/types/lodash/object/invert.d.ts index 8bb5d784ed..86cc3ff90b 100644 --- a/types/lodash/object/invert.d.ts +++ b/types/lodash/object/invert.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an object composed of the inverted keys and values of object. If object contains duplicate values, diff --git a/types/lodash/object/invertBy.d.ts b/types/lodash/object/invertBy.d.ts index 3feb6ee0b6..41e8f27e41 100644 --- a/types/lodash/object/invertBy.d.ts +++ b/types/lodash/object/invertBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.invert except that the inverted object is generated from the results of running each diff --git a/types/lodash/object/invoke.d.ts b/types/lodash/object/invoke.d.ts index 2e5f9970c3..1bf2494996 100644 --- a/types/lodash/object/invoke.d.ts +++ b/types/lodash/object/invoke.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Invokes the method at path of object. diff --git a/types/lodash/object/keys.d.ts b/types/lodash/object/keys.d.ts index 14a5f41b94..fa3afc080f 100644 --- a/types/lodash/object/keys.d.ts +++ b/types/lodash/object/keys.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of the own enumerable property names of object. diff --git a/types/lodash/object/keysIn.d.ts b/types/lodash/object/keysIn.d.ts index c0c1210c02..b00679e3c9 100644 --- a/types/lodash/object/keysIn.d.ts +++ b/types/lodash/object/keysIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of the own and inherited enumerable property names of object. diff --git a/types/lodash/object/mapKeys.d.ts b/types/lodash/object/mapKeys.d.ts index 992b0e3026..d2f55d4164 100644 --- a/types/lodash/object/mapKeys.d.ts +++ b/types/lodash/object/mapKeys.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * The opposite of _.mapValues; this method creates an object with the same values as object and keys generated diff --git a/types/lodash/object/mapValues.d.ts b/types/lodash/object/mapValues.d.ts index 94c97417f4..e924d11ed8 100644 --- a/types/lodash/object/mapValues.d.ts +++ b/types/lodash/object/mapValues.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an object with the same keys as object and values generated by running each own diff --git a/types/lodash/object/merge.d.ts b/types/lodash/object/merge.d.ts index 1136f2d9bb..5e9daf0de4 100644 --- a/types/lodash/object/merge.d.ts +++ b/types/lodash/object/merge.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Recursively merges own and inherited enumerable properties of source diff --git a/types/lodash/object/mergeWith.d.ts b/types/lodash/object/mergeWith.d.ts index 2f568e67db..d5aae75b58 100644 --- a/types/lodash/object/mergeWith.d.ts +++ b/types/lodash/object/mergeWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type MergeWithCustomizer = { bivariantHack(value: any, srcValue: any, key: string, object: any, source: any): any; }["bivariantHack"] interface LoDashStatic { diff --git a/types/lodash/object/omit.d.ts b/types/lodash/object/omit.d.ts index ae9890f7d9..f1063681eb 100644 --- a/types/lodash/object/omit.d.ts +++ b/types/lodash/object/omit.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * The opposite of `_.pick`; this method creates an object composed of the diff --git a/types/lodash/object/omitBy.d.ts b/types/lodash/object/omitBy.d.ts index 0f5018e32b..233844f7e9 100644 --- a/types/lodash/object/omitBy.d.ts +++ b/types/lodash/object/omitBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * The opposite of `_.pickBy`; this method creates an object composed of the diff --git a/types/lodash/object/pick.d.ts b/types/lodash/object/pick.d.ts index d20f7b9ae4..7b80232757 100644 --- a/types/lodash/object/pick.d.ts +++ b/types/lodash/object/pick.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an object composed of the picked `object` properties. diff --git a/types/lodash/object/pickBy.d.ts b/types/lodash/object/pickBy.d.ts index 7e1edefd77..02a6081a44 100644 --- a/types/lodash/object/pickBy.d.ts +++ b/types/lodash/object/pickBy.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an object composed of the `object` properties `predicate` returns diff --git a/types/lodash/object/result.d.ts b/types/lodash/object/result.d.ts index a8ec08387d..8853524573 100644 --- a/types/lodash/object/result.d.ts +++ b/types/lodash/object/result.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.get except that if the resolved value is a function it’s invoked with the this binding diff --git a/types/lodash/object/set.d.ts b/types/lodash/object/set.d.ts index 38a7442807..cafb3ea129 100644 --- a/types/lodash/object/set.d.ts +++ b/types/lodash/object/set.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Sets the value at path of object. If a portion of path doesn’t exist it’s created. Arrays are created for diff --git a/types/lodash/object/setWith.d.ts b/types/lodash/object/setWith.d.ts index b57b8ebcb3..b3cf149179 100644 --- a/types/lodash/object/setWith.d.ts +++ b/types/lodash/object/setWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type SetWithCustomizer = (nsValue: any, key: string, nsObject: T) => any; interface LoDashStatic { diff --git a/types/lodash/object/toPairs.d.ts b/types/lodash/object/toPairs.d.ts index d1b6fe86d4..c78a44787f 100644 --- a/types/lodash/object/toPairs.d.ts +++ b/types/lodash/object/toPairs.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of own enumerable key-value pairs for object. diff --git a/types/lodash/object/toPairsIn.d.ts b/types/lodash/object/toPairsIn.d.ts index 832fab7050..da44734c00 100644 --- a/types/lodash/object/toPairsIn.d.ts +++ b/types/lodash/object/toPairsIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of own and inherited enumerable key-value pairs for object. diff --git a/types/lodash/object/transform.d.ts b/types/lodash/object/transform.d.ts index 1f8f4e9a48..478fedeee0 100644 --- a/types/lodash/object/transform.d.ts +++ b/types/lodash/object/transform.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of diff --git a/types/lodash/object/unset.d.ts b/types/lodash/object/unset.d.ts index 4bbdc0593b..c427702ae8 100644 --- a/types/lodash/object/unset.d.ts +++ b/types/lodash/object/unset.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Removes the property at path of object. diff --git a/types/lodash/object/update.d.ts b/types/lodash/object/update.d.ts index fd612dc970..4baf00bbf3 100644 --- a/types/lodash/object/update.d.ts +++ b/types/lodash/object/update.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to diff --git a/types/lodash/object/updateWith.d.ts b/types/lodash/object/updateWith.d.ts index 5b51ce4554..db5f4ffa2f 100644 --- a/types/lodash/object/updateWith.d.ts +++ b/types/lodash/object/updateWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.update` except that it accepts `customizer` which is diff --git a/types/lodash/object/values.d.ts b/types/lodash/object/values.d.ts index 743157cdf0..47be1f0661 100644 --- a/types/lodash/object/values.d.ts +++ b/types/lodash/object/values.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of the own enumerable property values of object. diff --git a/types/lodash/object/valuesIn.d.ts b/types/lodash/object/valuesIn.d.ts index a5e2bacc57..17100b8fc8 100644 --- a/types/lodash/object/valuesIn.d.ts +++ b/types/lodash/object/valuesIn.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of the own and inherited enumerable property values of object. diff --git a/types/lodash/seq/chain.d.ts b/types/lodash/seq/chain.d.ts index 5c45689b0e..e43c2b8c3d 100644 --- a/types/lodash/seq/chain.d.ts +++ b/types/lodash/seq/chain.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a lodash object that wraps value with explicit method chaining enabled. diff --git a/types/lodash/seq/prototype.at.d.ts b/types/lodash/seq/prototype.at.d.ts index 09b4fd5bc2..680ad3084a 100644 --- a/types/lodash/seq/prototype.at.d.ts +++ b/types/lodash/seq/prototype.at.d.ts @@ -1,4 +1,5 @@ -// declare namespace _ { +// import * as _ from ".."; +// declare module ".." { // interface LoDashWrapper { // /** // * This method is the wrapper version of _.at. diff --git a/types/lodash/seq/prototype.chain.d.ts b/types/lodash/seq/prototype.chain.d.ts index 5c45689b0e..e43c2b8c3d 100644 --- a/types/lodash/seq/prototype.chain.d.ts +++ b/types/lodash/seq/prototype.chain.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a lodash object that wraps value with explicit method chaining enabled. diff --git a/types/lodash/seq/prototype.commit.d.ts b/types/lodash/seq/prototype.commit.d.ts index b8eab97095..ebcc6ba9db 100644 --- a/types/lodash/seq/prototype.commit.d.ts +++ b/types/lodash/seq/prototype.commit.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashWrapper { /** * Executes the chained sequence and returns the wrapped result. diff --git a/types/lodash/seq/prototype.plant.d.ts b/types/lodash/seq/prototype.plant.d.ts index a419a750d9..f46a31cf7f 100644 --- a/types/lodash/seq/prototype.plant.d.ts +++ b/types/lodash/seq/prototype.plant.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashImplicitWrapper { /** * Creates a clone of the chained sequence planting value as the wrapped value. diff --git a/types/lodash/seq/prototype.reverse.d.ts b/types/lodash/seq/prototype.reverse.d.ts index dd72272798..ee50e9e981 100644 --- a/types/lodash/seq/prototype.reverse.d.ts +++ b/types/lodash/seq/prototype.reverse.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashWrapper { /** * Reverses the wrapped array so the first element becomes the last, the second element becomes the second to diff --git a/types/lodash/seq/prototype.toJSON.d.ts b/types/lodash/seq/prototype.toJSON.d.ts index 08e39d5558..444bb0ca42 100644 --- a/types/lodash/seq/prototype.toJSON.d.ts +++ b/types/lodash/seq/prototype.toJSON.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashWrapper { /** * @see _.value diff --git a/types/lodash/seq/prototype.toString.d.ts b/types/lodash/seq/prototype.toString.d.ts index 5672a08667..f13982e66d 100644 --- a/types/lodash/seq/prototype.toString.d.ts +++ b/types/lodash/seq/prototype.toString.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashWrapper { /** * Produces the result of coercing the unwrapped value to a string. diff --git a/types/lodash/seq/prototype.value.d.ts b/types/lodash/seq/prototype.value.d.ts index 87caa46350..1c17d98798 100644 --- a/types/lodash/seq/prototype.value.d.ts +++ b/types/lodash/seq/prototype.value.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashWrapper { /** * Executes the chained sequence to extract the unwrapped value. diff --git a/types/lodash/seq/prototype.valueOf.d.ts b/types/lodash/seq/prototype.valueOf.d.ts index bfb28cbf67..29c4d0800c 100644 --- a/types/lodash/seq/prototype.valueOf.d.ts +++ b/types/lodash/seq/prototype.valueOf.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashWrapper { /** * @see _.value diff --git a/types/lodash/seq/tap.d.ts b/types/lodash/seq/tap.d.ts index 82902562ff..71d673f4a7 100644 --- a/types/lodash/seq/tap.d.ts +++ b/types/lodash/seq/tap.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method invokes interceptor and returns value. The interceptor is bound to thisArg and invoked with one diff --git a/types/lodash/seq/thru.d.ts b/types/lodash/seq/thru.d.ts index 3db6385be9..c7e5f93859 100644 --- a/types/lodash/seq/thru.d.ts +++ b/types/lodash/seq/thru.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.tap except that it returns the result of interceptor. diff --git a/types/lodash/string/camelCase.d.ts b/types/lodash/string/camelCase.d.ts index e6ad01c9c9..ab165051c7 100644 --- a/types/lodash/string/camelCase.d.ts +++ b/types/lodash/string/camelCase.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts string to camel case. diff --git a/types/lodash/string/capitalize.d.ts b/types/lodash/string/capitalize.d.ts index 41f2a7e935..01beee0dcd 100644 --- a/types/lodash/string/capitalize.d.ts +++ b/types/lodash/string/capitalize.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts the first character of string to upper case and the remaining to lower case. diff --git a/types/lodash/string/deburr.d.ts b/types/lodash/string/deburr.d.ts index a0e89c64e7..bba29e403b 100644 --- a/types/lodash/string/deburr.d.ts +++ b/types/lodash/string/deburr.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining diff --git a/types/lodash/string/endsWith.d.ts b/types/lodash/string/endsWith.d.ts index d8f76a0178..cf6b5c39a7 100644 --- a/types/lodash/string/endsWith.d.ts +++ b/types/lodash/string/endsWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if string ends with the given target string. diff --git a/types/lodash/string/escape.d.ts b/types/lodash/string/escape.d.ts index e18f0675be..23201415fb 100644 --- a/types/lodash/string/escape.d.ts +++ b/types/lodash/string/escape.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities. diff --git a/types/lodash/string/escapeRegExp.d.ts b/types/lodash/string/escapeRegExp.d.ts index f8e3790952..e73c5ad6fc 100644 --- a/types/lodash/string/escapeRegExp.d.ts +++ b/types/lodash/string/escapeRegExp.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]", diff --git a/types/lodash/string/kebabCase.d.ts b/types/lodash/string/kebabCase.d.ts index 00b9fd8421..485d10a6c4 100644 --- a/types/lodash/string/kebabCase.d.ts +++ b/types/lodash/string/kebabCase.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts string to kebab case. diff --git a/types/lodash/string/lowerCase.d.ts b/types/lodash/string/lowerCase.d.ts index f71af2638b..7e25820834 100644 --- a/types/lodash/string/lowerCase.d.ts +++ b/types/lodash/string/lowerCase.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `string`, as space separated words, to lower case. diff --git a/types/lodash/string/lowerFirst.d.ts b/types/lodash/string/lowerFirst.d.ts index 323367c7ef..7c1cdbf8dc 100644 --- a/types/lodash/string/lowerFirst.d.ts +++ b/types/lodash/string/lowerFirst.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts the first character of `string` to lower case. diff --git a/types/lodash/string/pad.d.ts b/types/lodash/string/pad.d.ts index 97b2cef838..aedae7bd4e 100644 --- a/types/lodash/string/pad.d.ts +++ b/types/lodash/string/pad.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if diff --git a/types/lodash/string/padEnd.d.ts b/types/lodash/string/padEnd.d.ts index c9072bb59c..cd6458d0a6 100644 --- a/types/lodash/string/padEnd.d.ts +++ b/types/lodash/string/padEnd.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed diff --git a/types/lodash/string/padStart.d.ts b/types/lodash/string/padStart.d.ts index fff4aaf566..8005047b49 100644 --- a/types/lodash/string/padStart.d.ts +++ b/types/lodash/string/padStart.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed diff --git a/types/lodash/string/parseInt.d.ts b/types/lodash/string/parseInt.d.ts index d481c1d750..7606d7bf25 100644 --- a/types/lodash/string/parseInt.d.ts +++ b/types/lodash/string/parseInt.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used diff --git a/types/lodash/string/repeat.d.ts b/types/lodash/string/repeat.d.ts index ae965cf86b..86c5af54db 100644 --- a/types/lodash/string/repeat.d.ts +++ b/types/lodash/string/repeat.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Repeats the given string n times. diff --git a/types/lodash/string/replace.d.ts b/types/lodash/string/replace.d.ts index d980e59b1d..70c75e4bf5 100644 --- a/types/lodash/string/replace.d.ts +++ b/types/lodash/string/replace.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Replaces matches for pattern in string with replacement. diff --git a/types/lodash/string/snakeCase.d.ts b/types/lodash/string/snakeCase.d.ts index a38f964fa0..38004ae356 100644 --- a/types/lodash/string/snakeCase.d.ts +++ b/types/lodash/string/snakeCase.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts string to snake case. diff --git a/types/lodash/string/split.d.ts b/types/lodash/string/split.d.ts index 43416dcf87..d8580c3a90 100644 --- a/types/lodash/string/split.d.ts +++ b/types/lodash/string/split.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Splits string by separator. diff --git a/types/lodash/string/startCase.d.ts b/types/lodash/string/startCase.d.ts index 6b053c48bd..7480e3d2e8 100644 --- a/types/lodash/string/startCase.d.ts +++ b/types/lodash/string/startCase.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts string to start case. diff --git a/types/lodash/string/startsWith.d.ts b/types/lodash/string/startsWith.d.ts index 8bd9a63d13..754e5d5654 100644 --- a/types/lodash/string/startsWith.d.ts +++ b/types/lodash/string/startsWith.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks if string starts with the given target string. diff --git a/types/lodash/string/template.d.ts b/types/lodash/string/template.d.ts index 5ad7c00921..e0e7130391 100644 --- a/types/lodash/string/template.d.ts +++ b/types/lodash/string/template.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface TemplateOptions extends TemplateSettings { /** * The sourceURL of the template's compiled source. diff --git a/types/lodash/string/toLower.d.ts b/types/lodash/string/toLower.d.ts index 4db3f2f585..b3346378f9 100644 --- a/types/lodash/string/toLower.d.ts +++ b/types/lodash/string/toLower.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `string`, as a whole, to lower case. diff --git a/types/lodash/string/toUpper.d.ts b/types/lodash/string/toUpper.d.ts index 6ebd95081f..f02ba29071 100644 --- a/types/lodash/string/toUpper.d.ts +++ b/types/lodash/string/toUpper.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `string`, as a whole, to upper case. diff --git a/types/lodash/string/trim.d.ts b/types/lodash/string/trim.d.ts index f154162543..308f9f3698 100644 --- a/types/lodash/string/trim.d.ts +++ b/types/lodash/string/trim.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Removes leading and trailing whitespace or specified characters from string. diff --git a/types/lodash/string/trimEnd.d.ts b/types/lodash/string/trimEnd.d.ts index ae83e6641d..a99de64ec6 100644 --- a/types/lodash/string/trimEnd.d.ts +++ b/types/lodash/string/trimEnd.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Removes trailing whitespace or specified characters from string. diff --git a/types/lodash/string/trimStart.d.ts b/types/lodash/string/trimStart.d.ts index 3ce788f055..3856a8c8bd 100644 --- a/types/lodash/string/trimStart.d.ts +++ b/types/lodash/string/trimStart.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Removes leading whitespace or specified characters from string. diff --git a/types/lodash/string/truncate.d.ts b/types/lodash/string/truncate.d.ts index 041ee6223b..87ebb67851 100644 --- a/types/lodash/string/truncate.d.ts +++ b/types/lodash/string/truncate.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface TruncateOptions { /** The maximum string length. */ length?: number; diff --git a/types/lodash/string/unescape.d.ts b/types/lodash/string/unescape.d.ts index f8f77bacd0..041939efd2 100644 --- a/types/lodash/string/unescape.d.ts +++ b/types/lodash/string/unescape.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and ` diff --git a/types/lodash/string/upperCase.d.ts b/types/lodash/string/upperCase.d.ts index 5377337f0e..ea1f7e51ac 100644 --- a/types/lodash/string/upperCase.d.ts +++ b/types/lodash/string/upperCase.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `string`, as space separated words, to upper case. diff --git a/types/lodash/string/upperFirst.d.ts b/types/lodash/string/upperFirst.d.ts index 38f88a7e94..5a19bce003 100644 --- a/types/lodash/string/upperFirst.d.ts +++ b/types/lodash/string/upperFirst.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts the first character of `string` to upper case. diff --git a/types/lodash/string/words.d.ts b/types/lodash/string/words.d.ts index 11fa80ee62..84c10b3a93 100644 --- a/types/lodash/string/words.d.ts +++ b/types/lodash/string/words.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Splits `string` into an array of its words. diff --git a/types/lodash/util/attempt.d.ts b/types/lodash/util/attempt.d.ts index 70651b722d..71550ac30c 100644 --- a/types/lodash/util/attempt.d.ts +++ b/types/lodash/util/attempt.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments diff --git a/types/lodash/util/bindAll.d.ts b/types/lodash/util/bindAll.d.ts index 78b9726e63..f6824149a5 100644 --- a/types/lodash/util/bindAll.d.ts +++ b/types/lodash/util/bindAll.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Binds methods of an object to the object itself, overwriting the existing method. Method names may be diff --git a/types/lodash/util/cond.d.ts b/types/lodash/util/cond.d.ts index 92f5285d43..42ee3ef37a 100644 --- a/types/lodash/util/cond.d.ts +++ b/types/lodash/util/cond.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that iterates over `pairs` and invokes the corresponding diff --git a/types/lodash/util/conforms.d.ts b/types/lodash/util/conforms.d.ts index 60887c45ad..ccaa952c4c 100644 --- a/types/lodash/util/conforms.d.ts +++ b/types/lodash/util/conforms.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { type ConformsPredicateObject = { [P in keyof T]?: (val: T[P]) => boolean; }; diff --git a/types/lodash/util/constant.d.ts b/types/lodash/util/constant.d.ts index 1083d4e460..b9557b21c0 100644 --- a/types/lodash/util/constant.d.ts +++ b/types/lodash/util/constant.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that returns value. diff --git a/types/lodash/util/defaultTo.d.ts b/types/lodash/util/defaultTo.d.ts index 3bc4810f1b..26267f8880 100644 --- a/types/lodash/util/defaultTo.d.ts +++ b/types/lodash/util/defaultTo.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Checks `value` to determine whether a default value should be returned in diff --git a/types/lodash/util/flow.d.ts b/types/lodash/util/flow.d.ts index 90837be794..d9845ccb38 100644 --- a/types/lodash/util/flow.d.ts +++ b/types/lodash/util/flow.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that returns the result of invoking the provided functions with the this binding of the diff --git a/types/lodash/util/flowRight.d.ts b/types/lodash/util/flowRight.d.ts index d0a2faaa9f..6e7aca9d16 100644 --- a/types/lodash/util/flowRight.d.ts +++ b/types/lodash/util/flowRight.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like _.flow except that it creates a function that invokes the provided functions from right diff --git a/types/lodash/util/identity.d.ts b/types/lodash/util/identity.d.ts index 18ade4c0cf..cd2b0ee673 100644 --- a/types/lodash/util/identity.d.ts +++ b/types/lodash/util/identity.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method returns the first argument provided to it. diff --git a/types/lodash/util/iteratee.d.ts b/types/lodash/util/iteratee.d.ts index 1777690492..86dcdbb643 100644 --- a/types/lodash/util/iteratee.d.ts +++ b/types/lodash/util/iteratee.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that invokes `func` with the arguments of the created diff --git a/types/lodash/util/matches.d.ts b/types/lodash/util/matches.d.ts index fb69121a13..f3c99ada39 100644 --- a/types/lodash/util/matches.d.ts +++ b/types/lodash/util/matches.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that performs a deep comparison between a given object and source, returning true if the diff --git a/types/lodash/util/matchesProperty.d.ts b/types/lodash/util/matchesProperty.d.ts index 36c64e4d7e..e1d8cdb102 100644 --- a/types/lodash/util/matchesProperty.d.ts +++ b/types/lodash/util/matchesProperty.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that compares the property value of path on a given object to value. diff --git a/types/lodash/util/method.d.ts b/types/lodash/util/method.d.ts index 7377b17a60..e0dbafe39f 100644 --- a/types/lodash/util/method.d.ts +++ b/types/lodash/util/method.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that invokes the method at path on a given object. Any additional arguments are provided diff --git a/types/lodash/util/methodOf.d.ts b/types/lodash/util/methodOf.d.ts index 52d7343be5..710f15a387 100644 --- a/types/lodash/util/methodOf.d.ts +++ b/types/lodash/util/methodOf.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * The opposite of _.method; this method creates a function that invokes the method at a given path on object. diff --git a/types/lodash/util/mixin.d.ts b/types/lodash/util/mixin.d.ts index 01590b1929..62999a9c87 100644 --- a/types/lodash/util/mixin.d.ts +++ b/types/lodash/util/mixin.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface MixinOptions { chain?: boolean; } diff --git a/types/lodash/util/noConflict.d.ts b/types/lodash/util/noConflict.d.ts index d27b76819d..78fc008a08 100644 --- a/types/lodash/util/noConflict.d.ts +++ b/types/lodash/util/noConflict.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Reverts the _ variable to its previous value and returns a reference to the lodash function. diff --git a/types/lodash/util/noop.d.ts b/types/lodash/util/noop.d.ts index a17e537d98..5b8d99bccb 100644 --- a/types/lodash/util/noop.d.ts +++ b/types/lodash/util/noop.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * A no-operation function that returns undefined regardless of the arguments it receives. diff --git a/types/lodash/util/nthArg.d.ts b/types/lodash/util/nthArg.d.ts index d6b7b5a026..c3f0d3730f 100644 --- a/types/lodash/util/nthArg.d.ts +++ b/types/lodash/util/nthArg.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that returns its nth argument. diff --git a/types/lodash/util/over.d.ts b/types/lodash/util/over.d.ts index 87b323c4b4..ca724a3635 100644 --- a/types/lodash/util/over.d.ts +++ b/types/lodash/util/over.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that invokes iteratees with the arguments provided to the created function and returns diff --git a/types/lodash/util/overEvery.d.ts b/types/lodash/util/overEvery.d.ts index b0f6275b4e..e973872866 100644 --- a/types/lodash/util/overEvery.d.ts +++ b/types/lodash/util/overEvery.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that checks if all of the predicates return truthy when invoked with the arguments diff --git a/types/lodash/util/overSome.d.ts b/types/lodash/util/overSome.d.ts index 8574eb8f49..c14ece136c 100644 --- a/types/lodash/util/overSome.d.ts +++ b/types/lodash/util/overSome.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that checks if any of the predicates return truthy when invoked with the arguments diff --git a/types/lodash/util/property.d.ts b/types/lodash/util/property.d.ts index 72d1d8511b..3f83ec02f7 100644 --- a/types/lodash/util/property.d.ts +++ b/types/lodash/util/property.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates a function that returns the property value at path on a given object. diff --git a/types/lodash/util/propertyOf.d.ts b/types/lodash/util/propertyOf.d.ts index a904424d70..52e081a70c 100644 --- a/types/lodash/util/propertyOf.d.ts +++ b/types/lodash/util/propertyOf.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * The opposite of _.property; this method creates a function that returns the property value at a given path diff --git a/types/lodash/util/range.d.ts b/types/lodash/util/range.d.ts index ebd8266e4c..b5617c07c0 100644 --- a/types/lodash/util/range.d.ts +++ b/types/lodash/util/range.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. diff --git a/types/lodash/util/rangeRight.d.ts b/types/lodash/util/rangeRight.d.ts index 119aa7d7aa..b61e996eab 100644 --- a/types/lodash/util/rangeRight.d.ts +++ b/types/lodash/util/rangeRight.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method is like `_.range` except that it populates values in diff --git a/types/lodash/util/runInContext.d.ts b/types/lodash/util/runInContext.d.ts index 5c8acfb592..8deffaff4e 100644 --- a/types/lodash/util/runInContext.d.ts +++ b/types/lodash/util/runInContext.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Create a new pristine lodash function using the given context object. diff --git a/types/lodash/util/stubArray.d.ts b/types/lodash/util/stubArray.d.ts index ef5f8d32a1..c67fd54766 100644 --- a/types/lodash/util/stubArray.d.ts +++ b/types/lodash/util/stubArray.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method returns a new empty array. diff --git a/types/lodash/util/stubFalse.d.ts b/types/lodash/util/stubFalse.d.ts index eaea1c9a48..84fb6d4de2 100644 --- a/types/lodash/util/stubFalse.d.ts +++ b/types/lodash/util/stubFalse.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method returns `false`. diff --git a/types/lodash/util/stubObject.d.ts b/types/lodash/util/stubObject.d.ts index b8de585c96..23d5f6a9c5 100644 --- a/types/lodash/util/stubObject.d.ts +++ b/types/lodash/util/stubObject.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method returns a new empty object. diff --git a/types/lodash/util/stubString.d.ts b/types/lodash/util/stubString.d.ts index 8b4363f458..50410bb2a5 100644 --- a/types/lodash/util/stubString.d.ts +++ b/types/lodash/util/stubString.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method returns an empty string. diff --git a/types/lodash/util/stubTrue.d.ts b/types/lodash/util/stubTrue.d.ts index 1c008fd0b7..7629e62a7d 100644 --- a/types/lodash/util/stubTrue.d.ts +++ b/types/lodash/util/stubTrue.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * This method returns `true`. diff --git a/types/lodash/util/times.d.ts b/types/lodash/util/times.d.ts index e059c588f4..e9039b7fc2 100644 --- a/types/lodash/util/times.d.ts +++ b/types/lodash/util/times.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee diff --git a/types/lodash/util/toPath.d.ts b/types/lodash/util/toPath.d.ts index 4c5129a461..7d9fd966c4 100644 --- a/types/lodash/util/toPath.d.ts +++ b/types/lodash/util/toPath.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Converts `value` to a property path array. diff --git a/types/lodash/util/uniqueId.d.ts b/types/lodash/util/uniqueId.d.ts index 49691cab85..214b2eed30 100644 --- a/types/lodash/util/uniqueId.d.ts +++ b/types/lodash/util/uniqueId.d.ts @@ -1,4 +1,5 @@ -declare namespace _ { +import * as _ from ".."; +declare module ".." { interface LoDashStatic { /** * Generates a unique ID. If prefix is provided the ID is appended to it.