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

@@ -32,10 +32,10 @@ interface IProps extends AbstractButtonProps {
* @augments AbstractButton
*/
class VideoShareButton extends AbstractButton<IProps> {
accessibilityLabel = 'toolbar.accessibilityLabel.sharedvideo';
icon = IconPlay;
label = 'toolbar.sharedvideo';
toggledLabel = 'toolbar.stopSharedVideo';
override accessibilityLabel = 'toolbar.accessibilityLabel.sharedvideo';
override icon = IconPlay;
override label = 'toolbar.sharedvideo';
override toggledLabel = 'toolbar.stopSharedVideo';
/**
* Handles clicking / pressing the button.
@@ -44,7 +44,7 @@ class VideoShareButton extends AbstractButton<IProps> {
* @protected
* @returns {void}
*/
_handleClick() {
override _handleClick() {
this._doToggleSharedVideo();
}
@@ -55,7 +55,7 @@ class VideoShareButton extends AbstractButton<IProps> {
* @protected
* @returns {boolean}
*/
_isToggled() {
override _isToggled() {
return this.props._sharingVideo;
}
@@ -66,7 +66,7 @@ class VideoShareButton extends AbstractButton<IProps> {
* @protected
* @returns {boolean}
*/
_isDisabled() {
override _isDisabled() {
return this.props._isDisabled;
}