This message was deleted.
# typescript
s
This message was deleted.
l
As a
Region
seems to be a
string
, isn’t it possible to pass a config property of type
string
?
p
No, The compiler complains it required an object. Solved it with a simple cast
Copy code
export const clusterRegion =
  <Region>config.get("clusterRegion") || Regions.FRA1;
👍🏼 1