Héctor Ramos 1853e15190 Add open source Flow declaration for Metro module
Summary:
Fix Flow failure by adding a declaration to the Flow config used in open source. This did not get caught internally because we use a different Flow config.

Release Notes
-------------
[INTERNAL] [MINOR] [Flow] - Fix Flow config.

Reviewed By: rafeca

Differential Revision: D8257641

fbshipit-source-id: 3f4b2cbe622b2e76aa018e9369216a6b9ac25f47
2018-06-05 19:02:19 -07:00

30 lines
603 B
JavaScript

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
declare module 'metro' {
declare module.exports: any;
}
declare module 'metro/src/HmrServer' {
declare module.exports: any;
}
declare module 'metro/src/lib/attachWebsocketServer' {
declare module.exports: any;
}
declare module 'metro/src/lib/bundle-modules/HMRClient' {
declare module.exports: any;
}
declare module 'metro/src/lib/TerminalReporter' {
declare module.exports: any;
}