Skip to content

Commit

Permalink
packager: JSTransform cleanup: remove opts.methods
Browse files Browse the repository at this point in the history
Summary: It's not used from any callsite as far as I can see.

Reviewed By: davidaurelio

Differential Revision: D4481708

fbshipit-source-id: 2c503fb7ef20f9370a950c315832f3ace4709739
  • Loading branch information
Jean Lauliac authored and facebook-github-bot committed Jan 31, 2017
1 parent 7bc25f5 commit b6f494c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packager/react-packager/src/JSTransformer/index.js
Expand Up @@ -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) => {
Expand Down Expand Up @@ -86,7 +81,6 @@ class Transformer {

_opts: {
transformModulePath?: ?string,
methods: Array<string>,
};
_workers: {[name: string]: mixed};
_transformModulePath: ?string;
Expand Down

0 comments on commit b6f494c

Please sign in to comment.