We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58c9f52 commit 8ebf2d4Copy full SHA for 8ebf2d4
src/util.ts
@@ -19,6 +19,7 @@ export function debounce(func: () => void, wait: number, immediate?) {
19
}
20
21
const debounced: any = (...args) => {
22
+ // eslint-disable-next-line @typescript-eslint/no-this-alias
23
context = this;
24
timestamp = Date.now();
25
const callNow = immediate && !timeout;
0 commit comments