error TS2820: Type '"DynamicThresholdCriterion"' is not assignable to type 'Input<"StaticThresholdCriterion">'. Did you mean '"StaticThresholdCriterion"'? #3667
Unanswered
solarisfire
asked this question in
Q&A
Replies: 1 comment
-
If I set: criterionType: "DynamicThresholdCriterion" as any it works, but then gets stuck on: error TS2353: Object literal may only specify known properties, and 'alertSensitivity' does not exist in type 'Input'. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I have this function, and as far as I can tell it should work. The documentation says DynamicThresholdCriterion is a thing. The ARM templates say it should be a thing. But Pulumi is just throwing a TypeScript error.
Am I doing anything obviously stupid?
Beta Was this translation helpful? Give feedback.
All reactions