# run lint-staged hooks
echo "[PRE-COMMIT] Run lint-staged"
lint-staged

# update typescript type declarations
echo "[PRE-COMMIT] Run typescript validation and create/update d.ts files"
tsc -p tsconfig.precommit.json
git add @types
