Deploy v0.36.0

Reviewed By: zertosh

Differential Revision: D4237912

fbshipit-source-id: cc251884350ffa3c8715a4920f90bd301e8a9b7f
This commit is contained in:
Gabe Levi 2016-11-28 10:10:38 -08:00 committed by Facebook Github Bot
parent 64c1205838
commit 368ef3ef4b
2 changed files with 6 additions and 0 deletions

View File

@ -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,
}; };

View File

@ -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]
); );