Alerts client returns mixed TypeScript types #49703
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
It was found that
alertsClient.get(...)
returns mixed types. It should return a consistent type. This is caused by thegetAlertFromRaw
function that returns two different structures depending if the alert has actions or not.The text was updated successfully, but these errors were encountered: