Skip to content

polymer.dom() also accepts type 'event' #65

@DanielJoyce

Description

@DanielJoyce

https://www.polymer-project.org/1.0/docs/devguide/events.html

Polymer.dom(event).localTarget/path/rootTarget

This needs to be added to polymer-ts.d.ts

Starting line 57

interface dom {
    (event: Event): Dom.api.Event;
    (node: HTMLElement): HTMLElement;
    (node: polymer.Base): HTMLElement;
    flush(): any;
}

This solves the errors I am getting from atom-typescript and it runs fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions