Skip to content

Commit 8fba53f

Browse files
committed
Update types
1 parent 1137a0a commit 8fba53f

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

lib/utils/debounce.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
/**
123123
* Adds a `Debouncer` to a list of globally flushable tasks.
124124
*
125+
* @memberof Polymer
125126
* @param {!Debouncer} debouncer Debouncer to enqueue
126127
* @return {void}
127128
*/

types/lib/utils/debounce.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,10 @@ declare namespace Polymer {
8080
*/
8181
isActive(): boolean;
8282
}
83+
84+
85+
/**
86+
* Adds a `Debouncer` to a list of globally flushable tasks.
87+
*/
88+
function enqueueDebouncer(debouncer: Debouncer): void;
8389
}

types/lib/utils/flush.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,11 @@
1212
// tslint:disable:variable-name Describing an API that's defined elsewhere.
1313

1414
/// <reference path="boot.d.ts" />
15+
/// <reference path="debounce.d.ts" />
1516

1617
declare namespace Polymer {
1718

1819

19-
/**
20-
* Adds a `Polymer.Debouncer` to a list of globally flushable tasks.
21-
*/
22-
function enqueueDebouncer(debouncer: Polymer.Debouncer): void;
23-
24-
2520
/**
2621
* Forces several classes of asynchronously queued tasks to flush:
2722
* - Debouncers added via `enqueueDebouncer`

0 commit comments

Comments
 (0)