Sorting of union types is non-deterministic #2751
Labels
bug
Functionality does not match expectation
needs reproduction
Needs a minimal reproducible case - https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d
This issue is related to #2502 but applies to non-literal types. Sorting of union types is non-deterministic.
Steps to reproduce the bug
Expected
Actual
Most of the times it shows
But sometimes it shows
(This is causing our CI pipeline to fail as we have a job to ensure the API Doc changes are included in pull requests)
Environment
The text was updated successfully, but these errors were encountered: