![Provide editor feature for filling in 'switch' cases for common scenario · Issue #35428 · microsoft/TypeScript · GitHub Provide editor feature for filling in 'switch' cases for common scenario · Issue #35428 · microsoft/TypeScript · GitHub](https://raw.githubusercontent.com/heroboy/generate-switch-case-for-enum-type-extension/master/screenshot.gif)
Provide editor feature for filling in 'switch' cases for common scenario · Issue #35428 · microsoft/TypeScript · GitHub
Infer type inside switch/case statement using `instanceof` · Issue #20957 · microsoft/TypeScript · GitHub
![Type Safe and Exhaustive 'switch' statements, aka Pattern Matching in TypeScript | by Nayab Siddiqui | Technogise | Medium Type Safe and Exhaustive 'switch' statements, aka Pattern Matching in TypeScript | by Nayab Siddiqui | Technogise | Medium](https://miro.medium.com/v2/resize:fit:908/1*eOLurH4QgxkyGPyuYse_rQ.png)
Type Safe and Exhaustive 'switch' statements, aka Pattern Matching in TypeScript | by Nayab Siddiqui | Technogise | Medium
![Why is Typescript unable to infer the correct type based off an enum switch statement? - Stack Overflow Why is Typescript unable to infer the correct type based off an enum switch statement? - Stack Overflow](https://i.stack.imgur.com/aZZuo.png)