Skip to content

Commit

Permalink
remove unnecessary typecast
Browse files Browse the repository at this point in the history
  • Loading branch information
Casheeew committed Dec 21, 2023
1 parent 1276e41 commit 086fe8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/js/pages/settings/profile-conditions-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ class ProfileConditionGroupUI {
/** @type {HTMLElement} */
this._node = /** @type {HTMLElement} */ (this._parent.instantiateTemplate('profile-condition-group'));
/** @type {HTMLElement} */
this._conditionContainer = /** @type {HTMLElement} */ querySelectorNotNull(this._node, '.profile-condition-list');
this._conditionContainer = querySelectorNotNull(this._node, '.profile-condition-list');
/** @type {HTMLElement} */
this._addConditionButton = querySelectorNotNull(this._node, '.profile-condition-add-button');
/** @type {ProfileConditionUI[]} */
Expand Down Expand Up @@ -626,7 +626,7 @@ class ProfileConditionUI {
/** @type {HTMLElement} */
this._mouseButtonContainer = querySelectorNotNull(this._node, '.mouse-button-container');
/** @type {HTMLButtonElement} */
this._menuButton = /** @type {HTMLButtonElement} */ querySelectorNotNull(this._node, '.profile-condition-menu-button');
this._menuButton = querySelectorNotNull(this._node, '.profile-condition-menu-button');
/** @type {HTMLElement} */
this._typeOptionContainer = querySelectorNotNull(this._typeInput, 'optgroup');
/** @type {HTMLElement} */
Expand Down

0 comments on commit 086fe8c

Please sign in to comment.