packager: enable @flow in node-haste types.js

Reviewed By: cpojer

Differential Revision: D4377132

fbshipit-source-id: 5a1c0fb34c85974135c326065fd0c54f44282286
This commit is contained in:
Jean Lauliac 2017-01-04 05:19:56 -08:00 committed by Facebook Github Bot
parent 754e7015d9
commit 9676468f78
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ exports.createResolveFn = function(options: ResolveOptions): ResolveFn {
dirExists: filePath => hasteFS.dirExists(filePath),
entryPath: '',
extraNodeModules,
/* $FlowFixMe: object is missing matchFiles method */
hasteFS,
hasteMap,
helpers,

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
'use strict';
// TODO(cpojer): Create a jest-types repo.