Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify switch-cases that are empty and fallthrough #77

Open
tmr232 opened this issue Jan 19, 2025 · 0 comments
Open

Unify switch-cases that are empty and fallthrough #77

tmr232 opened this issue Jan 19, 2025 · 0 comments
Labels
enhancement New feature or request TypeScript Support for TypeScript

Comments

@tmr232
Copy link
Owner

tmr232 commented Jan 19, 2025

Switches like the one in https://github.com/microsoft/TypeScript/blob/cbac1ddfc73ca3b9d8741c1b51b74663a0f24695/src/compiler/utilities.ts#L3549C1-L3617C2 should be unified to simplify the graph and make more sense.

I mean, the graph is beautiful now, but it looks way more complex than it is, and that's misleading.

Image

@tmr232 tmr232 added enhancement New feature or request TypeScript Support for TypeScript labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TypeScript Support for TypeScript
Projects
None yet
Development

No branches or pull requests

1 participant