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

refactor: Use .toSet() instead of Set.from() #2017

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

krille-chan
Copy link
Contributor

When using Set.from() then
it becomes a Set of
dynamics which disables the
Type checking.
By just changing this to
.toSet() it keeps the type.

@krille-chan krille-chan requested a review from a team as a code owner February 4, 2025 08:26
When using Set.from() then
it becomes a Set of
dynamics which disables the
Type checking.
By just changing this to
.toSet() it keeps the type.
@krille-chan krille-chan force-pushed the krille/refactor-set-from-to-toset branch from 5717d90 to 86038f8 Compare February 4, 2025 08:40
@krille-chan krille-chan enabled auto-merge February 4, 2025 08:40
@krille-chan krille-chan merged commit 0874488 into main Feb 4, 2025
11 of 12 checks passed
@krille-chan krille-chan deleted the krille/refactor-set-from-to-toset branch February 4, 2025 08:42
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