Skip to content

Commit e0b6e6e

Browse files
authored
docs: Fix Typo in migrating-to-v5.md (#6440)
1 parent 9191f15 commit e0b6e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/react/guides/migrating-to-v5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ To make the remove overloads migration easier, v5 comes with a codemod.
106106
If you want to run it against `.js` or `.jsx` files, please use the command below:
107107

108108
```
109-
npx jscodeshift@lastest ./path/to/src/ \
109+
npx jscodeshift@latest ./path/to/src/ \
110110
--extensions=js,jsx \
111111
--transform=./node_modules/@tanstack/react-query/build/codemods/src/v5/remove-overloads/remove-overloads.js
112112
```
113113

114114
If you want to run it against `.ts` or `.tsx` files, please use the command below:
115115

116116
```
117-
npx jscodeshift@lastest ./path/to/src/ \
117+
npx jscodeshift@latest ./path/to/src/ \
118118
--extensions=ts,tsx \
119119
--parser=tsx \
120120
--transform=./node_modules/@tanstack/react-query/build/codemods/src/v5/remove-overloads/remove-overloads.js

0 commit comments

Comments
 (0)