Run Prettier on Flow libdef on precommit (#3495)

This commit is contained in:
Ashoat Tevosyan
2018-02-12 17:45:50 -05:00
committed by Brent Vatne
parent 5b4d11ab5d
commit 0fc7f87173
2 changed files with 11 additions and 7 deletions

View File

@@ -332,12 +332,12 @@ declare module 'react-navigation' {
navigationOptions?: ?NavigationScreenConfig<Options>,
};
declare export type NavigationRouteConfig =
| NavigationComponent
| {
navigationOptions?: NavigationScreenConfig<*>,
path?: string,
} & NavigationScreenRouteConfig;
declare export type NavigationRouteConfig =
| NavigationComponent
| ({
navigationOptions?: NavigationScreenConfig<*>,
path?: string,
} & NavigationScreenRouteConfig);
declare export type NavigationScreenRouteConfig =
| NavigationComponent