client server
Summary: Migrating Server, Client and UninitializedClient to TypeScript Reviewed By: passy Differential Revision: D16687855 fbshipit-source-id: 402e4dbcd5d283d3e280d4d8b312662829457886
This commit is contained in:
committed by
Facebook Github Bot
parent
53c1eee641
commit
5f53087c7e
@@ -59,25 +59,25 @@ const AppTitleBar = styled(FlexRow)(({focused}) => ({
|
||||
}));
|
||||
|
||||
type OwnProps = {
|
||||
version: string,
|
||||
version: string;
|
||||
};
|
||||
|
||||
type DispatchFromProps = {
|
||||
toggleLeftSidebarVisible: (visible?: boolean) => void,
|
||||
toggleRightSidebarVisible: (visible?: boolean) => void,
|
||||
setActiveSheet: (sheet: ActiveSheet) => void,
|
||||
setFlipperRating: (rating: number) => void,
|
||||
toggleLeftSidebarVisible: (visible?: boolean) => void;
|
||||
toggleRightSidebarVisible: (visible?: boolean) => void;
|
||||
setActiveSheet: (sheet: ActiveSheet) => void;
|
||||
setFlipperRating: (rating: number) => void;
|
||||
};
|
||||
|
||||
type StateFromProps = {
|
||||
windowIsFocused: boolean,
|
||||
leftSidebarVisible: boolean,
|
||||
rightSidebarVisible: boolean,
|
||||
rightSidebarAvailable: boolean,
|
||||
downloadingImportData: boolean,
|
||||
launcherMsg: LauncherMsg,
|
||||
flipperRating: number | null,
|
||||
share: ShareType | null | undefined,
|
||||
windowIsFocused: boolean;
|
||||
leftSidebarVisible: boolean;
|
||||
rightSidebarVisible: boolean;
|
||||
rightSidebarAvailable: boolean;
|
||||
downloadingImportData: boolean;
|
||||
launcherMsg: LauncherMsg;
|
||||
flipperRating: number | null;
|
||||
share: ShareType | null | undefined;
|
||||
};
|
||||
|
||||
const VersionText = styled(Text)({
|
||||
|
||||
Reference in New Issue
Block a user