From 16fd44b3c0fcf8aae666adc1bc26505c2e3faffd Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Tue, 31 Jan 2017 03:55:54 -0800 Subject: [PATCH] packager: JSTransform cleanup: remove opts.methods Summary: It's not used from any callsite as far as I can see. Reviewed By: davidaurelio Differential Revision: D4481708 fbshipit-source-id: 2c503fb7ef20f9370a950c315832f3ace4709739 --- .../metro-bundler/react-packager/src/JSTransformer/index.js | 6 ------ 1 file changed, 6 deletions(-) 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;