If I have a types ```typescript type MyUnion = A | B; ``` I would expect A to be a subtype of MyUnion. This currently prevents validateEdge from functioning in core.