[Alerting] TypeScript checking for actionVariable definitions #62483
Labels
enhancement
New value added to drive a business result
estimate:small
Small Estimated Level of Effort
Feature:Alerting
NeededFor:logs-metrics-ui
Project:MoreRuleTypes
Alerting team project for providing more ways to construct rules.
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
technical debt
Improvement of the software architecture and operational architecture
Let's say we have an alert type defined with:
and then we write code to schedule actions like:
Can we make TypeScript throw an error about the missing
bar
and the presentbaz
? Either with full type inferencing or just disallowing us from usingany
types in these functions.The text was updated successfully, but these errors were encountered: