Skip to content

Conversation

@Bashamega
Copy link

@Bashamega Bashamega commented Mar 12, 2025

Fixes #61401

🔹 Improvements:

Better Readability: Uses Map instead of a long chain of ternary operators.
More Maintainable: Easily extendable if new checks need to be added.
Efficient: Iterates over a small set of conditions rather than multiple if statements.

@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Mar 12, 2025
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Mar 12, 2025
@Bashamega
Copy link
Author

@microsoft-github-policy-service agree

@Bashamega Bashamega marked this pull request as draft March 12, 2025 05:52
@Bashamega Bashamega marked this pull request as draft March 12, 2025 05:52
@Bashamega Bashamega marked this pull request as ready for review March 12, 2025 06:05
@github-project-automation github-project-automation bot moved this from Not started to Done in PR Backlog Mar 12, 2025
@Bashamega Bashamega deleted the refactor/get-type-of-symbol branch March 12, 2025 16:52
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor getTypeOfSymbol for Improved Readability and Maintainability

3 participants