mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #49984 feat(lodash-es): Export supporting types DebouncedFunc, DebounceSettings and ThrottleSettings by @swese44
Exports additional supporting types for Debounce and Throttle, which we need to access in another project.
This commit is contained in:
4
types/lodash-es/debounce.d.ts
vendored
4
types/lodash-es/debounce.d.ts
vendored
@@ -1,2 +1,4 @@
|
||||
import { debounce } from "lodash";
|
||||
import { debounce, DebouncedFunc, DebounceSettings } from "lodash";
|
||||
|
||||
export { DebounceSettings, DebouncedFunc };
|
||||
export default debounce;
|
||||
|
||||
4
types/lodash-es/index.d.ts
vendored
4
types/lodash-es/index.d.ts
vendored
@@ -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";
|
||||
|
||||
@@ -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,
|
||||
|
||||
4
types/lodash-es/throttle.d.ts
vendored
4
types/lodash-es/throttle.d.ts
vendored
@@ -1,2 +1,4 @@
|
||||
import { throttle } from "lodash";
|
||||
import { throttle, ThrottleSettings } from "lodash";
|
||||
|
||||
export { ThrottleSettings };
|
||||
export default throttle;
|
||||
|
||||
Reference in New Issue
Block a user