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
This commit is contained in:
Jean Lauliac 2017-01-31 03:55:54 -08:00 committed by Facebook Github Bot
parent 7bc25f5ece
commit b6f494c313
1 changed files with 0 additions and 6 deletions

View File

@ -39,15 +39,10 @@ const validateOpts = declareOpts({
type:'string',
required: false,
},
methods: {
type: 'array',
default: [],
},
});
type Options = {
transformModulePath?: ?string,
methods?: ?Array<string>,
};
const maxConcurrentWorkers = ((cores, override) => {
@ -86,7 +81,6 @@ class Transformer {
_opts: {
transformModulePath?: ?string,
methods: Array<string>,
};
_workers: {[name: string]: mixed};
_transformModulePath: ?string;