Skip to content

Commit

Permalink
Update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Mar 26, 2023
1 parent 7cee4e0 commit f1cead9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ types-react-codemod <codemod> <paths...>
Positionals:
codemod [string] [required] [choices: "context-any", "deprecated-react-child",
"deprecated-react-text", "deprecated-react-type", "deprecated-sfc-element",
"deprecated-sfc", "deprecated-stateless-component", "implicit-children",
"deprecated-sfc", "deprecated-stateless-component",
"deprecated-void-function-component", "implicit-children", "plain-refs",
"preset-18", "preset-19", "useCallback-implicit-any"]
paths [string] [required]

Expand Down
4 changes: 2 additions & 2 deletions bin/__tests__/types-react-codemod.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ describe("types-react-codemod", () => {
codemod [string] [required] [choices: "context-any", "deprecated-react-child",
"deprecated-react-text", "deprecated-react-type", "deprecated-sfc-element",
"deprecated-sfc", "deprecated-stateless-component",
"deprecated-void-function-component", "implicit-children", "preset-18",
"preset-19", "useCallback-implicit-any"]
"deprecated-void-function-component", "implicit-children", "plain-refs",
"preset-18", "preset-19", "useCallback-implicit-any"]
paths [string] [required]
Options:
Expand Down

0 comments on commit f1cead9

Please sign in to comment.