diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/log_entry_anomalies.ts b/x-pack/plugins/infra/common/http_api/log_analysis/results/log_entry_anomalies.ts index b4f02cbddf940..905b9da8b4262 100644 --- a/x-pack/plugins/infra/common/http_api/log_analysis/results/log_entry_anomalies.ts +++ b/x-pack/plugins/infra/common/http_api/log_analysis/results/log_entry_anomalies.ts @@ -24,6 +24,8 @@ export const anomalyTypeRT = rt.keyof({ logCategory: null, }); +export type AnomalyType = rt.TypeOf; + const logEntryAnomalyCommonFieldsRT = rt.type({ id: rt.string, anomalyScore: rt.number, diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx b/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx index 0e9808b6ee3fa..c1a5b418e6332 100644 --- a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx @@ -97,7 +97,6 @@ export const LogEntryRateResultsContent: React.FunctionComponent typical;