mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
influxdb: config page: typescript-fix for strict-mode (#40465)
This commit is contained in:
@@ -8,8 +8,8 @@ export enum InfluxVersion {
|
|||||||
export interface InfluxOptions extends DataSourceJsonData {
|
export interface InfluxOptions extends DataSourceJsonData {
|
||||||
version?: InfluxVersion;
|
version?: InfluxVersion;
|
||||||
|
|
||||||
timeInterval: string;
|
timeInterval?: string;
|
||||||
httpMode: string;
|
httpMode?: string;
|
||||||
|
|
||||||
// With Flux
|
// With Flux
|
||||||
organization?: string;
|
organization?: string;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ set -e
|
|||||||
|
|
||||||
echo -e "Collecting code stats (typescript errors & more)"
|
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+)')"
|
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
|
if [ "$ERROR_COUNT" -gt $ERROR_COUNT_LIMIT ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user