UNPKG
wsp-toolkit
Version:
latest (0.6.3)
0.6.3
0.6.2
0.6.1
0.6.0
0.5.19
0.5.18
0.5.17
0.5.16
0.5.15
0.5.14
0.5.13
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.2
Personal toolbox
github.com/varcat/toolkit_js
varcat/toolkit_js
wsp-toolkit
/
dist
/
functions
/
debounce
/
debounce.d.ts
7 lines
(6 loc)
•
188 B
TypeScript
View Raw
1
2
3
4
5
6
7
interface
IDebounceOpts
{
leading
?:
boolean
;
trailing
?:
boolean
; }
export
declare
function
debounce<T
extends
Function
>(
func
: T,
wait
:
number
,
opts
?:
IDebounceOpts
): T;
export
{};