mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(TS ) Improve TS (#12491)
Remove global variables from files Change type to interface
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user