diff --git a/public/app/plugins/datasource/influxdb/types.ts b/public/app/plugins/datasource/influxdb/types.ts index e05c059e54b..8eb1ef59408 100644 --- a/public/app/plugins/datasource/influxdb/types.ts +++ b/public/app/plugins/datasource/influxdb/types.ts @@ -8,8 +8,8 @@ export enum InfluxVersion { export interface InfluxOptions extends DataSourceJsonData { version?: InfluxVersion; - timeInterval: string; - httpMode: string; + timeInterval?: string; + httpMode?: string; // With Flux organization?: string; diff --git a/scripts/ci-check-strict.sh b/scripts/ci-check-strict.sh index 1d55ae0a3b1..b5cc40e8418 100755 --- a/scripts/ci-check-strict.sh +++ b/scripts/ci-check-strict.sh @@ -3,7 +3,7 @@ set -e echo -e "Collecting code stats (typescript errors & more)" -ERROR_COUNT_LIMIT=24 +ERROR_COUNT_LIMIT=19 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