I am basing that on both what I see on the news and what is happening to people all around me.
what news sources are you consuming?
because if you’re getting the message from the news that economic collapse is imminent and all currencies are going to be worthless and we will need to fall back to a barter-based economy…that is a function of choices you’ve made in your news diet, much more than it has anything to do with anything actually happening in the real world.
and what specifically is happening to people around you that you’re referring to? do you have a pen-pal in Weimar-era Germany who you’re communicating with through a time portal? or are you talking with other people who have the same news diet as you do and forming a self-reinforcing worldview?
I’m having trouble following the example the LLM generated for you in your screenshot…I’m not terribly familiar with TypeScript but
MyUnionType
should be a union of types and instead it seems to be a union of…1 or 2?maybe you can share some example code of the unexpected behavior that you wrote, rather than something the fancy random number generator wrote?