Skip to content

Commit

Permalink
Merge pull request #767 from reactjs/smikitky-patch-1
Browse files Browse the repository at this point in the history
Fix translation in 19 upgrade guide
  • Loading branch information
smikitky committed May 14, 2024
2 parents 173db70 + bda187a commit 74646ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/blog/2024/04/25/react-19-upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ React 19 で削除された API に基づいて、TypeScript の型を整理し
npx types-react-codemod@latest preset-19 ./path-to-app
```

`element.props` への不正確なアクセスが多い場合、この追加の codemod を実行できます。
`element.props` への型安全ではないアクセスを多く行っている場合、以下の追加の codemod を実行できます。

```bash
npx types-react-codemod@latest react-element-default-any-props ./path-to-your-react-ts-files
Expand Down

0 comments on commit 74646ec

Please sign in to comment.