ref: define state and property types (2)

This commit is contained in:
Lyubo Marinov
2017-11-17 13:06:47 -06:00
parent 379bad0ce6
commit 75bf7638b3
12 changed files with 262 additions and 183 deletions

View File

@@ -11,14 +11,14 @@ import { cancelWaitForOwner, _openLoginDialog } from '../actions';
import styles from './styles';
/**
* WaitForOwnerDialog component's property types.
* The type of the React {@code Component} props of {@link WaitForOwnerDialog}.
*/
type WaitForOwnerDialogPropTypes = {
type Props = {
/**
* The name of the conference room (without the domain part).
*/
_room: String,
_room: string,
/**
* Redux store dispatch function.
@@ -37,7 +37,7 @@ type WaitForOwnerDialogPropTypes = {
*
* See {@link LoginDialog} description for more details.
*/
class WaitForOwnerDialog extends Component<WaitForOwnerDialogPropTypes> {
class WaitForOwnerDialog extends Component<Props> {
/**
* Initializes a new WaitForWonderDialog instance.
*