From bda187a965f73080d04f77a1de2c7b42ad5123b4 Mon Sep 17 00:00:00 2001 From: Soichiro Miki Date: Tue, 14 May 2024 13:07:25 +0900 Subject: [PATCH] Fix translation in 19 upgrade guide --- src/content/blog/2024/04/25/react-19-upgrade-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/blog/2024/04/25/react-19-upgrade-guide.md b/src/content/blog/2024/04/25/react-19-upgrade-guide.md index 63eddf6f6..8f0dcd5f9 100644 --- a/src/content/blog/2024/04/25/react-19-upgrade-guide.md +++ b/src/content/blog/2024/04/25/react-19-upgrade-guide.md @@ -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