Skip to content

Commit 33c37fb

Browse files
committed
Fix lint, update types
1 parent 52c41e6 commit 33c37fb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/unit/debounce.html

-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@
214214

215215
const testEnqueue = (shouldFlush, done) => {
216216
const actualOrder = [];
217-
let i=1;
218217
const enqueue = (type, {db, cb} = {}) => {
219218
cb = cb || (() => actualOrder.push(cb));
220219
db = Polymer.Debouncer.debounce(db, type, cb);

types/lib/utils/debounce.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ declare namespace Polymer {
6868
*/
6969
cancel(): void;
7070

71+
/**
72+
* Cancels a debouncer's async callback.
73+
*/
74+
_cancelAsync(): void;
75+
7176
/**
7277
* Flushes an active debouncer and returns a reference to itself.
7378
*/

0 commit comments

Comments
 (0)