From 3ede9b517eae32dd39990d553808a6500bed3afa Mon Sep 17 00:00:00 2001 From: Alexander Marks Date: Tue, 6 Feb 2018 22:29:26 -0800 Subject: [PATCH] Make EventApi.path EventTarget type non-nullable. --- lib/legacy/polymer.dom.html | 2 +- types/lib/legacy/polymer.dom.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/legacy/polymer.dom.html b/lib/legacy/polymer.dom.html index fd31579668..5417f12e14 100644 --- a/lib/legacy/polymer.dom.html +++ b/lib/legacy/polymer.dom.html @@ -282,7 +282,7 @@ /** * Returns the `composedPath` for this event. - * @return {!Array} The nodes this event propagated through + * @return {!Array} The nodes this event propagated through */ get path() { return this.event.composedPath(); diff --git a/types/lib/legacy/polymer.dom.d.ts b/types/lib/legacy/polymer.dom.d.ts index cdc0aa71be..e0992bfe64 100644 --- a/types/lib/legacy/polymer.dom.d.ts +++ b/types/lib/legacy/polymer.dom.d.ts @@ -175,5 +175,5 @@ declare class EventApi { /** * Returns the `composedPath` for this event. */ - readonly path: Array; + readonly path: EventTarget[]; }