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

@@ -5,7 +5,7 @@ import React, { PureComponent } from 'react';
import { WithTranslation } from 'react-i18next';
import { connect } from 'react-redux';
import { IState } from '../../app/types';
import { IReduxState } from '../../app/types';
import { hideDialog } from '../../base/dialog/actions';
import { translate } from '../../base/i18n/functions';
// eslint-disable-next-line lines-around-comment
@@ -324,7 +324,7 @@ class VirtualBackgroundPreview extends PureComponent<Props, State> {
* @private
* @returns {{Props}}
*/
function _mapStateToProps(state: IState) {
function _mapStateToProps(state: IReduxState) {
return {
_currentCameraDeviceId: getCurrentCameraDeviceId(state)
};