From b6f494c31309425749756be5cbe37a08b0b8982b 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 --- packager/react-packager/src/JSTransformer/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packager/react-packager/src/JSTransformer/index.js b/packager/react-packager/src/JSTransformer/index.js index 24b8484b8..bd4d2861d 100644 --- a/packager/react-packager/src/JSTransformer/index.js +++ b/packager/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;