From 024ab01ee8a1324c26f76119a9a3c3516f7263c3 Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Wed, 29 Apr 2020 15:43:19 -0700 Subject: [PATCH] Add type for DomApiNative's setAttribute method. --- lib/legacy/polymer.dom.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/legacy/polymer.dom.d.ts b/lib/legacy/polymer.dom.d.ts index d8dff4e1f1..fc713e27ad 100644 --- a/lib/legacy/polymer.dom.d.ts +++ b/lib/legacy/polymer.dom.d.ts @@ -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;