feat: Adds ts rule noImplicitOverride and fix errors.

This commit is contained in:
damencho
2025-03-12 10:19:11 -05:00
committed by Дамян Минков
parent 480b6f7cdc
commit ea0f9e7934
336 changed files with 878 additions and 877 deletions

View File

@@ -24,10 +24,10 @@ interface IProps extends AbstractButtonProps {
* An abstract implementation of a button that toggles the video background dialog.
*/
class VideoBackgroundButton extends AbstractButton<IProps> {
accessibilityLabel = 'toolbar.accessibilityLabel.selectBackground';
icon = IconImage;
label = 'toolbar.selectBackground';
tooltip = 'toolbar.selectBackground';
override accessibilityLabel = 'toolbar.accessibilityLabel.selectBackground';
override icon = IconImage;
override label = 'toolbar.selectBackground';
override tooltip = 'toolbar.selectBackground';
/**
* Handles clicking / pressing the button, and toggles the virtual background dialog
@@ -36,7 +36,7 @@ class VideoBackgroundButton extends AbstractButton<IProps> {
* @protected
* @returns {void}
*/
_handleClick() {
override _handleClick() {
const { dispatch } = this.props;
dispatch(openSettingsDialog(SETTINGS_TABS.VIRTUAL_BACKGROUND));
@@ -49,7 +49,7 @@ class VideoBackgroundButton extends AbstractButton<IProps> {
* @protected
* @returns {boolean}
*/
_isToggled() {
override _isToggled() {
return this.props._isBackgroundEnabled;
}
}