Equivalent of Object.values for unions
hi there 👋
i'm trying to extract the values of an object in order to have it as a union of options and ended up with this right here
is there a better maybe more elegant solutions to this? 😅

1 Reply
btw: the intention was to generate a JsonSchema, but it failed as the
FontWeightAliasMap.infer
defines undefined
in runtime usage
my workaround was to redeclare this