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,4 +1,4 @@
import { IState, IStore } from '../../app/types';
import { IReduxState, IStore } from '../../app/types';
import { getMultipleVideoSupportFeatureFlag } from '../config/functions.any';
import { MEDIA_TYPE, VIDEO_TYPE } from '../media/constants';
import { getParticipantById, isScreenShareParticipant } from '../participants/functions';
@@ -9,10 +9,10 @@ import { getTrackByMediaTypeAndParticipant, getVirtualScreenshareParticipantTrac
* {@link TestHint} and other components from the testing package will be
* rendered in various places across the app to help with automatic testing.
*
* @param {IState} state - The redux store state.
* @param {IReduxState} state - The redux store state.
* @returns {boolean}
*/
export function isTestModeEnabled(state: IState): boolean {
export function isTestModeEnabled(state: IReduxState): boolean {
const testingConfig = state['features/base/config'].testing;
return Boolean(testingConfig?.testMode);