Skip to content

Commit 1075dde

Browse files
authored
Merge pull request #5654 from Polymer/DomApiNative-setAttribute-type
Add type for DomApiNative's setAttribute method.
2 parents 36fb37e + 024ab01 commit 1075dde

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/legacy/polymer.dom.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ declare class DomApiNative {
138138
insertBefore(newChild: Node, refChild: Node|null): Node;
139139
removeChild(node: Node): Node;
140140
replaceChild(oldChild: Node, newChild: Node): Node;
141+
setAttribute(name: string, value: string): void;
141142
removeAttribute(name: string): void;
142143
querySelector(selector: string): Element|null;
143144
querySelectorAll(selector: string): NodeListOf<Element>;

0 commit comments

Comments
 (0)