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
#!/usr/bin/env bash | |
set -e | |
TMP_TSCONFIG="$(dirname "$0")/../tsconfig.tmp.json" | |
# ----------------------------------------------------------------------------------------- | |
# Clever solution which creates an intermediate tsconfig to validate | |
# on a per file basis (for tools like lint-staged which pass the current staged file to $@) | |
# | |
# Arguments: |