diff --git a/lib/legacy/legacy-element-mixin.js b/lib/legacy/legacy-element-mixin.js index 8e38e62940..e2e136cba3 100644 --- a/lib/legacy/legacy-element-mixin.js +++ b/lib/legacy/legacy-element-mixin.js @@ -143,7 +143,11 @@ export const LegacyElementMixin = dedupingMixin((base) => { } } - /** @override */ + /** + * @override + * @param {string} name + * @param {string} value + */ setAttribute(name, value) { if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) { const oldValue = this.getAttribute(name); @@ -155,7 +159,10 @@ export const LegacyElementMixin = dedupingMixin((base) => { } } - /** @override */ + /** + * @override + * @param {string} name + */ removeAttribute(name) { if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) { const oldValue = this.getAttribute(name);