Skip to content

Commit 12f2733

Browse files
Emily Janzerkelset
authored andcommitted
Fix flow in InitializeCore
Reviewed By: yungsters Differential Revision: D10115867 fbshipit-source-id: be619b9d6fc30e318cbc0e0fc6e741d80dd94a4b
1 parent e8c9f3c commit 12f2733

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Libraries/Core/InitializeCore.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ polyfillGlobal('regeneratorRuntime', () => {
9191
// The require just sets up the global, so make sure when we first
9292
// invoke it the global does not exist
9393
delete global.regeneratorRuntime;
94-
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an
95-
* error found when Flow v0.54 was deployed. To see the error delete this
96-
* comment and run Flow. */
9794
require('regenerator-runtime/runtime');
9895
return global.regeneratorRuntime;
9996
});
@@ -214,9 +211,6 @@ if (__DEV__) {
214211

215212
// Set up inspector
216213
const JSInspector = require('JSInspector');
217-
/* $FlowFixMe(>=0.56.0 site=react_native_fb,react_native_oss) This comment
218-
* suppresses an error found when Flow v0.56 was deployed. To see the error
219-
* delete this comment and run Flow. */
220214
JSInspector.registerAgent(require('NetworkAgent'));
221215
}
222216
}

Libraries/JSInspector/JSInspector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
'use strict';
1212

13-
import type EventSender from 'InspectorAgent';
13+
import type {EventSender} from 'InspectorAgent';
1414

1515
interface Agent {
1616
constructor(eventSender: EventSender): void;

0 commit comments

Comments
 (0)