Skip to content

Commit

Permalink
revert remove type to stay this pr clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed Aug 3, 2018
1 parent 9c822c7 commit b69a154
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion local-cli/bundle/bundleCommandLineArgs.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = [
'Specifies the maximum number of workers the worker-pool ' +
'will spawn for transforming files. This defaults to the number of the ' +
'cores available on your machine.',
parse: (workers) => Number(workers),
parse: (workers: string) => Number(workers),
},
{
command: '--sourcemap-output [string]',
Expand Down
2 changes: 1 addition & 1 deletion local-cli/dependencies/dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = {
'Specifies the maximum number of workers the worker-pool ' +
'will spawn for transforming files. This defaults to the number of the ' +
'cores available on your machine.',
parse: (workers) => Number(workers),
parse: (workers: string) => Number(workers),
},
{
command: '--dev [boolean]',
Expand Down
2 changes: 1 addition & 1 deletion local-cli/runAndroid/runAndroid.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ module.exports = {
{
command: '--port [number]',
default: process.env.RCT_METRO_PORT || 8081,
parse: (val) => Number(val),
parse: (val: string) => Number(val),
},
],
};
2 changes: 1 addition & 1 deletion local-cli/runIOS/runIOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ module.exports = {
{
command: '--port [number]',
default: process.env.RCT_METRO_PORT || 8081,
parse: (val) => Number(val),
parse: (val: string) => Number(val),
},
],
};

0 comments on commit b69a154

Please sign in to comment.