Skip to content

Commit f9d4c0d

Browse files
committed
Fix type check again
1 parent e0815d2 commit f9d4c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_alert_type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const getCurrentValueFromAggregations = (aggregations: Aggregation) => {
4343
};
4444

4545
const getParsedFilterQuery: (
46-
filterQuery: string | Record<string, any>
46+
filterQuery: string | undefined
4747
) => Record<string, any> = filterQuery => {
4848
if (!filterQuery) return {};
4949
try {

0 commit comments

Comments
 (0)