diff --git a/types/lodash-es/debounce.d.ts b/types/lodash-es/debounce.d.ts index 9ab66cdec3..f26b7a4c60 100644 --- a/types/lodash-es/debounce.d.ts +++ b/types/lodash-es/debounce.d.ts @@ -1,2 +1,4 @@ -import { debounce } from "lodash"; +import { debounce, DebouncedFunc, DebounceSettings } from "lodash"; + +export { DebounceSettings, DebouncedFunc }; export default debounce; diff --git a/types/lodash-es/index.d.ts b/types/lodash-es/index.d.ts index 3e9fcfa69c..95cf50568a 100644 --- a/types/lodash-es/index.d.ts +++ b/types/lodash-es/index.d.ts @@ -37,7 +37,7 @@ export { default as countBy } from "./countBy"; export { default as create } from "./create"; export { default as curry } from "./curry"; export { default as curryRight } from "./curryRight"; -export { default as debounce } from "./debounce"; +export { default as debounce, DebouncedFunc, DebounceSettings } from "./debounce"; export { default as deburr } from "./deburr"; export { default as defaultTo } from "./defaultTo"; export { default as defaults } from "./defaults"; @@ -257,7 +257,7 @@ export { default as takeRightWhile } from "./takeRightWhile"; export { default as takeWhile } from "./takeWhile"; export { default as template } from "./template"; export { default as templateSettings } from "./templateSettings"; -export { default as throttle } from "./throttle"; +export { default as throttle, ThrottleSettings } from "./throttle"; export { default as times } from "./times"; export { default as toArray } from "./toArray"; export { default as toFinite } from "./toFinite"; diff --git a/types/lodash-es/lodash-es-tests.ts b/types/lodash-es/lodash-es-tests.ts index 741526c851..6e38bf40e6 100644 --- a/types/lodash-es/lodash-es-tests.ts +++ b/types/lodash-es/lodash-es-tests.ts @@ -31,7 +31,7 @@ import countBy from "lodash-es/countBy"; import create from "lodash-es/create"; import curry from "lodash-es/curry"; import curryRight from "lodash-es/curryRight"; -import debounce from "lodash-es/debounce"; +import debounce, { DebouncedFunc, DebounceSettings } from "lodash-es/debounce"; import deburr from "lodash-es/deburr"; import defaultTo from "lodash-es/defaultTo"; import defaults from "lodash-es/defaults"; @@ -251,7 +251,7 @@ import takeRightWhile from "lodash-es/takeRightWhile"; import takeWhile from "lodash-es/takeWhile"; import template from "lodash-es/template"; import templateSettings from "lodash-es/templateSettings"; -import throttle from "lodash-es/throttle"; +import throttle, { ThrottleSettings } from "lodash-es/throttle"; import times from "lodash-es/times"; import toArray from "lodash-es/toArray"; import toFinite from "lodash-es/toFinite"; @@ -335,6 +335,8 @@ import { curry as curry1, curryRight as curryRight1, debounce as debounce1, + DebouncedFunc as DebouncedFunc1, + DebounceSettings as DebounceSettings1, deburr as deburr1, defaultTo as defaultTo1, defaults as defaults1, @@ -555,6 +557,7 @@ import { template as template1, templateSettings as templateSettings1, throttle as throttle1, + ThrottleSettings as ThrottleSettings1, times as times1, toArray as toArray1, toFinite as toFinite1, diff --git a/types/lodash-es/throttle.d.ts b/types/lodash-es/throttle.d.ts index 7eae03e4e8..80676374e6 100644 --- a/types/lodash-es/throttle.d.ts +++ b/types/lodash-es/throttle.d.ts @@ -1,2 +1,4 @@ -import { throttle } from "lodash"; +import { throttle, ThrottleSettings } from "lodash"; + +export { ThrottleSettings }; export default throttle;