> [TypeScript] is not very consistent and uses a lot of "special cases" or "special features" to solve specific problems.
That's very interesting. Could you please provide an example that showcases that inconsistency?
That's very interesting. Could you please provide an example that showcases that inconsistency?
This comes from trying to fix 1) compiler errors in conditions where the code is safe but the compiler can't understand that and 2) destructuring products/co-products.
Even if both features work on their own and help in certain cases, combining them leads to undesired results.
should there be a link to a PR in there somewhere?