8000 TypeScript Improvements by chippydip · Pull Request #181 · discord/access · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TypeScript Improvements #181

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 8000 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 5, 2024

Conversation

chippydip
Copy link
Contributor
@chippydip chippydip commented Oct 31, 2024

Converted groupBy helper to be strongly typed. This exposed some type errors where it was being used (result was assumed to be a Map but was actually just a Record). It now uses a typed accessor function to extract the key so the unsafe deepFind is not longer needed.

Copy link
Collaborator
@somethingnew2-0 somethingnew2-0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor fixes on the Users page, but otherwise this is looking good to merge! Thanks for contributing!

@somethingnew2-0 somethingnew2-0 merged commit 60f5f91 into discord:2024-hackweek Nov 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0