diff --git a/packages/metro/src/Server/index.js b/packages/metro/src/Server/index.js index aabff411..efc5e4dc 100644 --- a/packages/metro/src/Server/index.js +++ b/packages/metro/src/Server/index.js @@ -452,6 +452,9 @@ class Server { }; } + /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an + * error found when Flow v0.63 was deployed. To see the error delete this + * comment and run Flow. */ this._reporter.update({ buildID, bundleDetails: { diff --git a/packages/metro/src/lib/BatchProcessor.js b/packages/metro/src/lib/BatchProcessor.js index 2f1359a1..0fc7de61 100644 --- a/packages/metro/src/lib/BatchProcessor.js +++ b/packages/metro/src/lib/BatchProcessor.js @@ -94,11 +94,17 @@ class BatchProcessor { _processQueueOnceReady() { if (this._queue.length >= this._options.maximumItems) { + /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an + * error found when Flow v0.63 was deployed. To see the error delete this + * comment and run Flow. */ clearTimeout(this._timeoutHandle); process.nextTick(this._processQueue); return; } if (this._timeoutHandle == null) { + /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an + * error found when Flow v0.63 was deployed. To see the error delete this + * comment and run Flow. */ this._timeoutHandle = setTimeout( this._processQueue, this._options.maximumDelayMs,