packager: server.js: @flow

Summary: I'd like to start typing the front-end so that it's easier to track adding new options, etc.

Reviewed By: davidaurelio

Differential Revision: D5069868

fbshipit-source-id: 9a18dca52efd486ca18f17d0ec434a5ec1c1649c
This commit is contained in:
Jean Lauliac 2017-05-17 04:56:02 -07:00 committed by Facebook Github Bot
parent 218cab5e88
commit 6f61f74e4e
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ class TerminalReporter {
} }
} }
_logPackagerInitializing(port: number, projectRoots: Array<string>) { _logPackagerInitializing(port: number, projectRoots: $ReadOnlyArray<string>) {
terminal.log( terminal.log(
formatBanner( formatBanner(
'Running packager on port ' + 'Running packager on port ' +

View File

@ -24,7 +24,7 @@ export type GlobalCacheDisabledReason = 'too_many_errors' | 'too_many_misses';
*/ */
export type ReportableEvent = { export type ReportableEvent = {
port: number, port: number,
projectRoots: Array<string>, projectRoots: $ReadOnlyArray<string>,
type: 'initialize_packager_started', type: 'initialize_packager_started',
} | { } | {
type: 'initialize_packager_done', type: 'initialize_packager_done',