mirror of https://github.com/status-im/metro.git
Deploy v0.36.0
Reviewed By: zertosh Differential Revision: D4237912 fbshipit-source-id: cc251884350ffa3c8715a4920f90bd301e8a9b7f
This commit is contained in:
parent
64c1205838
commit
368ef3ef4b
|
@ -14,6 +14,9 @@ const ModuleTransport = require('../lib/ModuleTransport');
|
||||||
|
|
||||||
export type FinalizeOptions = {
|
export type FinalizeOptions = {
|
||||||
allowUpdates?: boolean,
|
allowUpdates?: boolean,
|
||||||
|
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected during the
|
||||||
|
* deploy of Flow v0.36.0. To see the error, remove this comment and run Flow
|
||||||
|
*/
|
||||||
runBeforeMainModule?: Array<mixed>,
|
runBeforeMainModule?: Array<mixed>,
|
||||||
runMainModule?: boolean,
|
runMainModule?: boolean,
|
||||||
};
|
};
|
||||||
|
|
|
@ -161,6 +161,9 @@ class Cache {
|
||||||
const ret = (Object.create(null): Record);
|
const ret = (Object.create(null): Record);
|
||||||
ret.metadata = record.metadata;
|
ret.metadata = record.metadata;
|
||||||
ret.data = Object.create(null);
|
ret.data = Object.create(null);
|
||||||
|
/* $FlowFixMe(>=0.36.0 site=react_native_fb) Flow error detected
|
||||||
|
* during the deploy of Flow v0.36.0. To see the error, remove this
|
||||||
|
* comment and run Flow */
|
||||||
fieldNames.forEach((field, index) =>
|
fieldNames.forEach((field, index) =>
|
||||||
ret.data[field] = ref[index]
|
ret.data[field] = ref[index]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue