mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 14:37:47 +00:00
feat: Adds ts rule noImplicitOverride and fix errors.
This commit is contained in:
@@ -30,12 +30,12 @@ export interface IProps extends AbstractButtonProps {
|
||||
* @augments BaseVideoMuteButton
|
||||
*/
|
||||
export default class AbstractVideoMuteButton<P extends IProps> extends BaseVideoMuteButton<P> {
|
||||
accessibilityLabel = 'toolbar.accessibilityLabel.videomute';
|
||||
toggledAccessibilityLabel = 'toolbar.accessibilityLabel.videounmute';
|
||||
label = 'toolbar.videomute';
|
||||
toggledLabel = 'toolbar.videounmute';
|
||||
tooltip = 'toolbar.videomute';
|
||||
toggledTooltip = 'toolbar.videounmute';
|
||||
override accessibilityLabel = 'toolbar.accessibilityLabel.videomute';
|
||||
override toggledAccessibilityLabel = 'toolbar.accessibilityLabel.videounmute';
|
||||
override label = 'toolbar.videomute';
|
||||
override toggledLabel = 'toolbar.videounmute';
|
||||
override tooltip = 'toolbar.videomute';
|
||||
override toggledTooltip = 'toolbar.videounmute';
|
||||
|
||||
/**
|
||||
* Indicates if video is currently disabled or not.
|
||||
@@ -44,7 +44,7 @@ export default class AbstractVideoMuteButton<P extends IProps> extends BaseVideo
|
||||
* @protected
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
override _isDisabled() {
|
||||
return this.props._videoDisabled;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ export default class AbstractVideoMuteButton<P extends IProps> extends BaseVideo
|
||||
* @protected
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isVideoMuted() {
|
||||
override _isVideoMuted() {
|
||||
return this.props._videoMuted;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ export default class AbstractVideoMuteButton<P extends IProps> extends BaseVideo
|
||||
* @protected
|
||||
* @returns {void}
|
||||
*/
|
||||
_setVideoMuted(videoMuted: boolean) {
|
||||
override _setVideoMuted(videoMuted: boolean) {
|
||||
this.props.dispatch(handleToggleVideoMuted(videoMuted, true, true));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user