Skip to content

Commit

Permalink
Export EventApi, same as DomApi
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rictic authored Aug 18, 2018
1 parent 33ab3ae commit b71f9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/legacy/polymer.dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b71f9f4

Please sign in to comment.