Tomoe
Tomoe
## First error: You broke the `Component` type by mapping in your interface:  Let's fix this:  ## Now we have arrived at the same problem the right way...
Sent a bug report: https://github.com/microsoft/TypeScript/issues/58016
Typescript contributors say that this problem will not be solved in the near future, so we are solving it ourselves.
The solution proposed by @au-z only works because if you have several incompatible candidates for output, then the first one is selected as the assumed type. This solution fixes the...