diff --git a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js index b58385ef941911..a9b00611591e78 100644 --- a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +++ b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js @@ -152,7 +152,7 @@ const DrawerLayoutAndroid = createReactClass({ mixins: [NativeMethodsMixin], - getDefaultProps: function(): Object { + getDefaultProps: function(): {drawerBackgroundColor: string} { return { drawerBackgroundColor: 'white', }; diff --git a/Libraries/Utilities/__tests__/deepFreezeAndThrowOnMutationInDev-test.js b/Libraries/Utilities/__tests__/deepFreezeAndThrowOnMutationInDev-test.js index 1ed6231c663603..f3f8c016026e32 100644 --- a/Libraries/Utilities/__tests__/deepFreezeAndThrowOnMutationInDev-test.js +++ b/Libraries/Utilities/__tests__/deepFreezeAndThrowOnMutationInDev-test.js @@ -134,7 +134,7 @@ describe('deepFreezeAndThrowOnMutationInDev', function() { expect(o.key1.key2).toBe('newValue'); }); - it('shouldn\'t recurse infinitely', () => { + it("shouldn't recurse infinitely", () => { __DEV__ = true; const o = {}; o.circular = o;