Created
June 8, 2020 23:23
-
-
Save wooglie/0c82d79acbef421d321280ed92d6dfb9 to your computer and use it in GitHub Desktop.
This file contains 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
lazyYarnAddTypes() { | |
yarn add $@ | |
for module in $@ | |
do | |
echo "Trying to install types for $module" | |
yarn add @types/$module > /dev/null | |
done | |
} | |
alias yat=lazyYarnAddTypes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment