Flow strict DrawerLayout (#22152)

Summary:
Issue in focus: #22100

The only occurrence of `Object` was replaced with the appropriate flow type
A Lint error was encountered in `deepFreezeAndThrowOnMutationInDev-test.js` when running `npm run lint` and was fixed by running `yarn prettier`
Pull Request resolved: https://github.com/facebook/react-native/pull/22152

Differential Revision: D12930872

Pulled By: RSNara

fbshipit-source-id: f9706ed2e49d9ccedfa331594c886d2d3b615db5
This commit is contained in:
flowkraD
2018-11-05 15:03:16 -08:00
committed by Facebook Github Bot
parent cc90c20bf6
commit f9050e0908
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ const DrawerLayoutAndroid = createReactClass({
mixins: [NativeMethodsMixin],
getDefaultProps: function(): Object {
getDefaultProps: function(): {drawerBackgroundColor: string} {
return {
drawerBackgroundColor: 'white',
};