Created
May 9, 2017 18:19
-
-
Save axxag/f15aa329686cdd1a51f6dc344daaa9b8 to your computer and use it in GitHub Desktop.
Convert Flow to Typescript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "*.js" -exec bash -c 'mv "$1" "$(sed "s/\.js$/.tsx/" <<< "$1")"' - '{}' \; | |
find . -name "types.js.flow" -exec bash -c 'mv "$1" "$(sed "s/\types.js.flow$/index.d.ts/" <<< "$1")"' - '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment