Skip to content

Instantly share code, notes, and snippets.

@gpolanco
Created July 14, 2019 15:10
Show Gist options
  • Save gpolanco/606c1524ff05098fdecbad6ce563d34d to your computer and use it in GitHub Desktop.
Save gpolanco/606c1524ff05098fdecbad6ce563d34d to your computer and use it in GitHub Desktop.
Rename file .js to .ts and .jsx to .tsx
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment