Clean up types properly

This commit is contained in:
Swapnil Raj 2020-07-30 11:51:10 +05:30
parent 9aa128a6e8
commit fbc341a2f5
3 changed files with 5 additions and 2 deletions

View file

@ -24,6 +24,7 @@ import RightPanelStore from "../../../stores/RightPanelStore";
import {RightPanelPhases} from "../../../stores/RightPanelStorePhases";
import {Action} from '../../../dispatcher/actions';
import {SetRightPanelPhasePayload, SetRightPanelPhaseRefireParams} from '../../../dispatcher/payloads/SetRightPanelPhasePayload';
import {EventSubscription} from "fbemitter";
export enum HeaderKind {
Room = "room",
@ -38,7 +39,7 @@ interface IState {
interface IProps {}
export default class HeaderButtons extends React.Component<IProps, IState> {
private storeToken: ReturnType<RightPanelStore["addListener"]>;
private storeToken: EventSubscription;
private dispatcherRef: string;
constructor(props: IProps, kind: HeaderKind) {