ref(TS) Require interfaces to start with I (#12424)

This commit is contained in:
Robert Pintilii
2022-10-20 12:11:27 +03:00
committed by GitHub
parent 10d202439b
commit 2938d1f2dc
197 changed files with 971 additions and 954 deletions

View File

@@ -1,7 +1,7 @@
/* eslint-disable lines-around-comment */
import React, { useEffect, useState } from 'react';
import { IState } from '../../../../app/types';
import { IReduxState } from '../../../../app/types';
import { setPassword as setPass } from '../../../../base/conference/actions';
import { isLocalParticipantModerator } from '../../../../base/participants/functions';
import { connect } from '../../../../base/redux/functions';
@@ -13,7 +13,7 @@ import { LobbySection } from '../../../../lobby';
import PasswordSection from './PasswordSection';
export interface NotifyClick {
export interface INotifyClick {
key: string;
preventExecution: boolean;
}
@@ -23,7 +23,7 @@ type Props = {
/**
* Toolbar buttons which have their click exposed through the API.
*/
_buttonsWithNotifyClick: Array<string | NotifyClick>;
_buttonsWithNotifyClick: Array<string | INotifyClick>;
/**
* Whether or not the current user can modify the current password.
@@ -123,7 +123,7 @@ function SecurityDialog({
* @private
* @returns {Props}
*/
function mapStateToProps(state: IState) {
function mapStateToProps(state: IReduxState) {
const {
conference,
e2eeSupported,