Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
microsoft
/
TypeScript
Public
Notifications
You must be signed in to change notification settings
Fork
13.7k
Star
110k
Code
Issues
5k+
Pull requests
27
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Exhaustive case completion for switch statements
- #50996
#50996
Merged
Gabriela Araujo Britto (gabritto)
merged 27 commits into
main
microsoft/TypeScript:main
from
gabritto/switchsnippet
microsoft/TypeScript:gabritto/switchsnippet
Copy head branch name to clipboard
Dec 2, 2022
Conversation
Commits
27
(27)
Checks
Files changed
Merged
Exhaustive case completion for switch statements
#50996
Gabriela Araujo Britto (gabritto)
merged 27 commits into
main
microsoft/TypeScript:main
from
gabritto/switchsnippet
microsoft/TypeScript:gabritto/switchsnippet
Copy head branch name to clipboard
Commits
Commits on Sep 23, 2022
fix services' type's isLiteral
Gabriela Araujo Britto (gabritto)
committed
f6c3566
View commit details
Copy full SHA for f6c3566
Browse repository at this point
update literal completions tests
Gabriela Araujo Britto (gabritto)
committed
4467330
View commit details
Copy full SHA for 4467330
Browse repository at this point
initial prototype
Gabriela Araujo Britto (gabritto)
committed
a206fe1
View commit details
Copy full SHA for a206fe1
Browse repository at this point
use symbol to expression. TODO: filter existing, replace import nodes
Gabriela Araujo Britto (gabritto)
committed
73c1eea
View commit details
Copy full SHA for 73c1eea
Browse repository at this point
WIP
Gabriela Araujo Britto (gabritto)
committed
5648cba
View commit details
Copy full SHA for 5648cba
Browse repository at this point
Commits on Sep 28, 2022
WIP
Gabriela Araujo Britto (gabritto)
committed
d46c0d2
View commit details
Copy full SHA for d46c0d2
Browse repository at this point
remove booleans from literals
Gabriela Araujo Britto (gabritto)
committed
297f892
View commit details
Copy full SHA for 297f892
Browse repository at this point
Merge branch 'gabritto/servicesIsLiteral' into gabritto/switchsnippet
Gabriela Araujo Britto (gabritto)
committed
fd1d6ed
View commit details
Copy full SHA for fd1d6ed
Browse repository at this point
Commits on Sep 29, 2022
trigger at case keyword positions
Gabriela Araujo Britto (gabritto)
committed
4c528b3
View commit details
Copy full SHA for 4c528b3
Browse repository at this point
Commits on Nov 8, 2022
clean up tests
Gabriela Araujo Britto (gabritto)
committed
1a5cd05
View commit details
Copy full SHA for 1a5cd05
Browse repository at this point
Commits on Nov 9, 2022
fix element access expression case
Gabriela Araujo Britto (gabritto)
committed
ee42732
View commit details
Copy full SHA for ee42732
Browse repository at this point
refactor dealing with existing values into a tracker
Gabriela Araujo Britto (gabritto)
committed
1819d0b
View commit details
Copy full SHA for 1819d0b
Browse repository at this point
Commits on Nov 10, 2022
Merge branch 'main' into gabritto/switchsnippet
Gabriela Araujo Britto (gabritto)
committed
b19543e
View commit details
Copy full SHA for b19543e
Browse repository at this point
fix merge errors
Gabriela Araujo Britto (gabritto)
committed
bd5b817
View commit details
Copy full SHA for bd5b817
Browse repository at this point
cleanup and more tests
Gabriela Araujo Britto (gabritto)
committed
f02122b
View commit details
Copy full SHA for f02122b
Browse repository at this point
fix lint errors
Gabriela Araujo Britto (gabritto)
committed
a35bc4a
View commit details
Copy full SHA for a35bc4a
Browse repository at this point
Commits on Nov 11, 2022
more merge conflict fixes and cleanup
Gabriela Araujo Britto (gabritto)
committed
83b88f7
View commit details
Copy full SHA for 83b88f7
Browse repository at this point
use appropriate quotes
Gabriela Araujo Britto (gabritto)
committed
599fb30
View commit details
Copy full SHA for 599fb30
Browse repository at this point
small indentation fix
Gabriela Araujo Britto (gabritto)
committed
97dcf69
View commit details
Copy full SHA for 97dcf69
Browse repository at this point
Commits on Nov 14, 2022
refactor case clause tracker
Gabriela Araujo Britto (gabritto)
committed
3b92638
View commit details
Copy full SHA for 3b92638
Browse repository at this point
Merge branch 'main' into gabritto/switchsnippet
Gabriela Araujo Britto (gabritto)
committed
89f6f6b
View commit details
Copy full SHA for 89f6f6b
Browse repository at this point
Commits on Nov 22, 2022
experiment: support tabstops after each case clause
Gabriela Araujo Britto (gabritto)
committed
1894d2e
View commit details
Copy full SHA for 1894d2e
Browse repository at this point
Commits on Nov 23, 2022
address small CR comments
Gabriela Araujo Britto (gabritto)
committed
90767fc
View commit details
Copy full SHA for 90767fc
Browse repository at this point
Commits on Nov 30, 2022
fix completion entry details; add test case
Gabriela Araujo Britto (gabritto)
committed
d1c8968
View commit details
Copy full SHA for d1c8968
Browse repository at this point
Merge branch 'main' into gabritto/switchsnippet
Gabriela Araujo Britto (gabritto)
committed
fb15ba1
View commit details
Copy full SHA for fb15ba1
Browse repository at this point
Commits on Dec 1, 2022
fix lint errors
Gabriela Araujo Britto (gabritto)
committed
3980b93
View commit details
Copy full SHA for 3980b93
Browse repository at this point
remove space before tab stops; refactor
Gabriela Araujo Britto (gabritto)
committed
8823108
View commit details
Copy full SHA for 8823108
Browse repository at this point
You can’t perform that action at this time.