Chore: Update slate types to fix more strict TypeScript errors (#37159)

This commit is contained in:
Ashley Harrison
2021-07-23 15:33:53 +01:00
committed by GitHub
parent 2601a4dd6e
commit 26abec2287
9 changed files with 64 additions and 97 deletions

View File

@ -3,7 +3,7 @@ set -e
echo -e "Collecting code stats (typescript errors & more)"
ERROR_COUNT_LIMIT=136
ERROR_COUNT_LIMIT=77
ERROR_COUNT="$(./node_modules/.bin/tsc --project tsconfig.json --noEmit --strict true | grep -oP 'Found \K(\d+)')"
if [ "$ERROR_COUNT" -gt $ERROR_COUNT_LIMIT ]; then