Ask HN: TS: Why isn't union type in object field extracted to out of the object? | Dark Hacker News