From b71f9f4e59323a917cb637fc4c7fb78b76a7ad57 Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Sat, 18 Aug 2018 11:58:37 -0700 Subject: [PATCH] Export EventApi, same as DomApi Both TypeScript and Closure need to be able to reach a class in order to use it for typing, and this is a useful type to annotate values with. --- lib/legacy/polymer.dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/legacy/polymer.dom.js b/lib/legacy/polymer.dom.js index ff5d33b41f..6574e72884 100644 --- a/lib/legacy/polymer.dom.js +++ b/lib/legacy/polymer.dom.js @@ -248,7 +248,7 @@ function forwardProperties(proto, properties) { * Event API wrapper class returned from `dom.(target)` when * `target` is an `Event`. */ -class EventApi { +export class EventApi { constructor(event) { this.event = event; }