Join Slack
Powered by
Why doesn't pulumi use typescript's sum types for ...
# typescript
c
cuddly-smartphone-89735
08/27/2020, 5:30 PM
Why doesn't pulumi use typescript's sum types for parameters with a fixed set of possible values? Like
type SkuTier = "Free" | "Paid"
instead of just
string
that allows all kinds of inputs?
✅ 1
s
stocky-spoon-28903
08/27/2020, 6:21 PM
They do in many cases! Which provider is this in particular?
Open in Slack
Previous
Next