Last active
October 12, 2022 14:17
-
-
Save jamesholcomb/f3b7015d930eecce220a300196c8ebcd to your computer and use it in GitHub Desktop.
Code mod to remove // @ts-check from
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
# recurisvely remove lines containing // @ts-check from all javascript files in current directory | |
find . -type f -name "*.js" -print0 | xargs -0 sed -i '' -e '/@ts-check/d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment