mirror of https://github.com/status-im/metro.git
@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:
parent
521653798f
commit
1b37017eb1
|
@ -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({
|
this._reporter.update({
|
||||||
buildID,
|
buildID,
|
||||||
bundleDetails: {
|
bundleDetails: {
|
||||||
|
|
|
@ -94,11 +94,17 @@ class BatchProcessor<TItem, TResult> {
|
||||||
|
|
||||||
_processQueueOnceReady() {
|
_processQueueOnceReady() {
|
||||||
if (this._queue.length >= this._options.maximumItems) {
|
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);
|
clearTimeout(this._timeoutHandle);
|
||||||
process.nextTick(this._processQueue);
|
process.nextTick(this._processQueue);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this._timeoutHandle == null) {
|
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._timeoutHandle = setTimeout(
|
||||||
this._processQueue,
|
this._processQueue,
|
||||||
this._options.maximumDelayMs,
|
this._options.maximumDelayMs,
|
||||||
|
|
Loading…
Reference in New Issue