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 коммит произвёл Facebook Github Bot
Родитель cc90c20bf6
Коммит f9050e0908
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

@ -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;