From 8fba53f5163fe9d6e0ef318c48319adcb96c9fba Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Wed, 27 Feb 2019 15:23:44 -0800 Subject: [PATCH] Update types --- lib/utils/debounce.html | 1 + types/lib/utils/debounce.d.ts | 6 ++++++ types/lib/utils/flush.d.ts | 7 +------ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/utils/debounce.html b/lib/utils/debounce.html index 48efe629a5..ad6b98ff95 100644 --- a/lib/utils/debounce.html +++ b/lib/utils/debounce.html @@ -122,6 +122,7 @@ /** * Adds a `Debouncer` to a list of globally flushable tasks. * + * @memberof Polymer * @param {!Debouncer} debouncer Debouncer to enqueue * @return {void} */ diff --git a/types/lib/utils/debounce.d.ts b/types/lib/utils/debounce.d.ts index 3800afc4a2..ceb853ef08 100644 --- a/types/lib/utils/debounce.d.ts +++ b/types/lib/utils/debounce.d.ts @@ -80,4 +80,10 @@ declare namespace Polymer { */ isActive(): boolean; } + + + /** + * Adds a `Debouncer` to a list of globally flushable tasks. + */ + function enqueueDebouncer(debouncer: Debouncer): void; } diff --git a/types/lib/utils/flush.d.ts b/types/lib/utils/flush.d.ts index fde1037a6f..6360fcd8b6 100644 --- a/types/lib/utils/flush.d.ts +++ b/types/lib/utils/flush.d.ts @@ -12,16 +12,11 @@ // tslint:disable:variable-name Describing an API that's defined elsewhere. /// +/// declare namespace Polymer { - /** - * Adds a `Polymer.Debouncer` to a list of globally flushable tasks. - */ - function enqueueDebouncer(debouncer: Polymer.Debouncer): void; - - /** * Forces several classes of asynchronously queued tasks to flush: * - Debouncers added via `enqueueDebouncer`