Skip to content

Commit

Permalink
Remove types from LegacyElementMixin's overridden setAttribute and re…
Browse files Browse the repository at this point in the history
…moveAttribute.
  • Loading branch information
bicknellr committed May 8, 2020
1 parent 6acf6e3 commit 00b3670
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/legacy/legacy-element-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 00b3670

Please sign in to comment.