Fix "npm test" on Windows 10 (#4066)

* Fix Windows

* update prettier

* Explain need for assetsTransformer in comment
This commit is contained in:
Jed Mao
2018-04-27 10:57:07 -05:00
committed by Brent Vatne
parent 7ae4c60eb8
commit 921ee09587
6 changed files with 33 additions and 18 deletions

View File

@@ -488,13 +488,14 @@ declare module 'react-navigation' {
goBack: (routeKey?: ?string) => boolean,
dismiss: () => boolean,
navigate: (
routeName: | string
| {
routeName: string,
params?: NavigationParams,
action?: NavigationNavigateAction,
key?: string,
},
routeName:
| string
| {
routeName: string,
params?: NavigationParams,
action?: NavigationNavigateAction,
key?: string,
},
params?: NavigationParams,
action?: NavigationNavigateAction
) => boolean,