datadog-api-client-typescript icon indicating copy to clipboard operation
datadog-api-client-typescript copied to clipboard

Incorrect type for silenced monitors

Open esemeniuc opened this issue 2 years ago • 3 comments

The type specified for silenced doesn't allow for null: https://github.com/DataDog/datadog-api-client-typescript/blob/6ed1588744d5475f0d679600ab59e7efc640d4be/packages/datadog-api-client-v1/models/MonitorOptions.ts#L100

Which is shown in the documentation here: https://docs.datadoghq.com/monitors/guide/monitor_api_options/#common-options

esemeniuc avatar May 03 '22 13:05 esemeniuc