You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd into your project you want to transform functions syntax
in your project folder run this command npx jscodeshift -t ~/.scripts/transform.js --parser=tsx --extensions=ts,tsx src/
boom, all the function expressions inside your src folder converted to arrow functions, I use this to convert shadcn components to arrow functions after installing them via cli on new projects