@allow-large-files [Flow] Upgrade xplat/js to flow v0.63

Reviewed By: samwgoldman

Differential Revision: D6675320

fbshipit-source-id: 85575a6f30a50a3c40c6b46ba36f8cd33c091b1d
This commit is contained in:
glevi@fb.com 2018-01-08 12:45:38 -08:00 committed by Facebook Github Bot
parent 521653798f
commit 1b37017eb1
2 changed files with 9 additions and 0 deletions

View File

@ -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: {

View File

@ -94,11 +94,17 @@ class BatchProcessor<TItem, TResult> {
_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,