packager: enable @flow in node-haste types.js
Reviewed By: cpojer Differential Revision: D4377132 fbshipit-source-id: 5a1c0fb34c85974135c326065fd0c54f44282286
This commit is contained in:
parent
5ba0bb287d
commit
d54f702532
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue