Update react18-migration.md

Fix a typo on the type resolution instructions.

Signed-off-by: Frank Showalter <842058+fshowalter@users.noreply.github.com>
This commit is contained in:
Frank Showalter
2024-01-26 09:03:58 -05:00
committed by GitHub
parent afe7af72fd
commit 53e682b823
+2 -2
View File
@@ -21,9 +21,9 @@ To switch a project to React 18, there are generally three changes that need to
// highlight-remove-next-line
"@types/react": "^17",
// highlight-remove-next-line
"@types/react": "^17",
"@types/react-dom": "^17",
// highlight-add-next-line
"@types/react-dom": "^18",
"@types/react": "^18",
// highlight-add-next-line
"@types/react-dom": "^18",
},