Chore: Reduce strict error in DataSourceHttpSettings.onChange callback (#40497)

* Reduce strict TS errors

* Update ERROR_COUNT_LIMIT after merging from main

* Update number of errors
This commit is contained in:
Piotr Jamróz
2021-10-18 10:40:43 +02:00
committed by GitHub
parent 6201b5b1d9
commit 2de769420e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ set -e
echo -e "Collecting code stats (typescript errors & more)"
ERROR_COUNT_LIMIT=17
ERROR_COUNT_LIMIT=13
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