From 00b36709b5c9ceb9fb57e6654fea2e388fbb65f7 Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Fri, 8 May 2020 16:20:14 -0700 Subject: [PATCH] Remove types from LegacyElementMixin's overridden setAttribute and removeAttribute. --- lib/legacy/legacy-element-mixin.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/legacy/legacy-element-mixin.js b/lib/legacy/legacy-element-mixin.js index efbbcc92e0..1a9fce04ae 100644 --- a/lib/legacy/legacy-element-mixin.js +++ b/lib/legacy/legacy-element-mixin.js @@ -146,8 +146,6 @@ export const LegacyElementMixin = dedupingMixin((base) => { /** * Sets the value of an attribute. * @override - * @param {string} name The name of the attribute to change. - * @param {string|number|boolean|!TrustedHTML|!TrustedScriptURL|!TrustedURL} value The new attribute value. */ setAttribute(name, value) { if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) { @@ -163,7 +161,6 @@ export const LegacyElementMixin = dedupingMixin((base) => { /** * Removes an attribute. * @override - * @param {string} name The name of the attribute to remove. */ removeAttribute(name) { if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) {