diff --git a/packages/metro-bundler/react-packager/src/JSTransformer/index.js b/packages/metro-bundler/react-packager/src/JSTransformer/index.js index 24b8484b..bd4d2861 100644 --- a/packages/metro-bundler/react-packager/src/JSTransformer/index.js +++ b/packages/metro-bundler/react-packager/src/JSTransformer/index.js @@ -39,15 +39,10 @@ const validateOpts = declareOpts({ type:'string', required: false, }, - methods: { - type: 'array', - default: [], - }, }); type Options = { transformModulePath?: ?string, - methods?: ?Array, }; const maxConcurrentWorkers = ((cores, override) => { @@ -86,7 +81,6 @@ class Transformer { _opts: { transformModulePath?: ?string, - methods: Array, }; _workers: {[name: string]: mixed}; _transformModulePath: ?string;