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

@@ -29,10 +29,10 @@ interface IProps extends AbstractButtonProps {
* An implementation of a button for toggling screen sharing.
*/
class ScreenSharingAndroidButton extends AbstractButton<IProps> {
accessibilityLabel = 'toolbar.accessibilityLabel.shareYourScreen';
icon = IconScreenshare;
label = 'toolbar.startScreenSharing';
toggledLabel = 'toolbar.stopScreenSharing';
override accessibilityLabel = 'toolbar.accessibilityLabel.shareYourScreen';
override icon = IconScreenshare;
override label = 'toolbar.startScreenSharing';
override toggledLabel = 'toolbar.stopScreenSharing';
/**
* Handles clicking / pressing the button.
@@ -41,7 +41,7 @@ class ScreenSharingAndroidButton extends AbstractButton<IProps> {
* @protected
* @returns {void}
*/
_handleClick() {
override _handleClick() {
const enable = !this._isToggled();
this.props.dispatch(toggleScreensharing(enable));
@@ -64,7 +64,7 @@ class ScreenSharingAndroidButton extends AbstractButton<IProps> {
* @protected
* @returns {boolean}
*/
_isToggled() {
override _isToggled() {
return this.props._screensharing;
}
}