mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 21:46:07 +08:00
packager: remove validateOpts for Server class
Summary: Remove the validateOpts() that prevents full Flow typing. In turn, having full Flow typing will allow us to remove 'defaults' across the codebase, that are source of inconsistencies. Reviewed By: davidaurelio, cpojer Differential Revision: D4377823 fbshipit-source-id: 8bb0a6b5069de64a9bb9d63892cd08854da91777
This commit is contained in:
committed by
Facebook Github Bot
parent
207776107d
commit
446995306a
3
packager/react-packager/react-packager.js
vendored
3
packager/react-packager/react-packager.js
vendored
@@ -21,9 +21,10 @@ exports.createServer = createServer;
|
||||
exports.Logger = Logger;
|
||||
|
||||
type Options = {
|
||||
nonPersistent: boolean,
|
||||
projectRoots: Array<string>,
|
||||
reporter?: Reporter,
|
||||
watch?: boolean,
|
||||
nonPersistent: boolean,
|
||||
};
|
||||
|
||||
exports.buildBundle = function(options: Options, bundleOptions: {}) {
|
||||
|
||||
Reference in New Issue
Block a user