Skip to content

Commit

Permalink
Add type for DomApiNative's setAttribute method.
Browse files Browse the repository at this point in the history
  • Loading branch information
bicknellr committed Apr 29, 2020
1 parent 36fb37e commit 024ab01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/legacy/polymer.dom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ declare class DomApiNative {
insertBefore(newChild: Node, refChild: Node|null): Node;
removeChild(node: Node): Node;
replaceChild(oldChild: Node, newChild: Node): Node;
setAttribute(name: string, value: string): void;
removeAttribute(name: string): void;
querySelector(selector: string): Element|null;
querySelectorAll(selector: string): NodeListOf<Element>;
Expand Down

0 comments on commit 024ab01

Please sign in to comment.