ref(TS ) Improve TS (#12491)

Remove global variables from files
Change type to interface
This commit is contained in:
Robert Pintilii
2022-11-03 10:35:51 +02:00
committed by GitHub
parent 36bef94c3c
commit b52b4c2a78
84 changed files with 241 additions and 296 deletions

View File

@@ -68,7 +68,7 @@ interface IProps extends WithTranslation {
/**
* The type of the React {@code Component} state of {@link LoginDialog}.
*/
type State = {
interface IState {
/**
* Authentication process starts before joining the conference room.
@@ -84,14 +84,14 @@ type State = {
* The user entered local participant name.
*/
username: string;
};
}
/**
* Component that renders the login in conference dialog.
*
* @returns {React$Element<any>}
*/
class LoginDialog extends Component<IProps, State> {
class LoginDialog extends Component<IProps, IState> {
/**
* Initializes a new {@code LoginDialog} instance.
*