Skip to content

Commit

Permalink
Update wise-icons-wash.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Dec 12, 2024
1 parent 8c90389 commit 4def217
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .changeset/wise-icons-wash.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
"types-react-codemod": patch
---

Handle array syntax in replaceReactType
Fix a bug when replacing types in shorthand array type notations.

For example, replacing `ReactText` in `ReactText[]` should now result in `(number | string)[]` instead of `number | string[]`.

0 comments on commit 4def217

Please sign in to comment.