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: replace short hand type conversions with function calls #2872

Merged
merged 1 commit into from
May 16, 2023

Conversation

deepsource-autofix[bot]
Copy link
Contributor

Prefer using explicit casts by calling Number, Boolean, or String over using operators like +, !! or "" +. This is considered best practice as it improves readability.

Prefer using explicit casts by calling `Number`, `Boolean`, or `String` over using operators like `+`, `!!` or `"" +`. This is considered best practice as it improves readability.
@deepsource-autofix deepsource-autofix bot requested a review from bigint as a code owner May 16, 2023 11:06
@vercel
Copy link

vercel bot commented May 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
prerender ✅ Ready (Inspect) Visit Preview May 16, 2023 11:12am
ui ✅ Ready (Inspect) Visit Preview May 16, 2023 11:12am
web ✅ Ready (Inspect) Visit Preview May 16, 2023 11:12am

@bigint bigint changed the title replace short hand type conversions with function calls fix: replace short hand type conversions with function calls May 16, 2023
@bigint bigint changed the title fix: replace short hand type conversions with function calls refactor: replace short hand type conversions with function calls May 16, 2023
@bigint bigint enabled auto-merge (squash) May 16, 2023 11:07
@bigint bigint disabled auto-merge May 16, 2023 11:07
@bigint bigint merged commit a9e1ea1 into main May 16, 2023
@bigint bigint deleted the deepsource-autofix-bbb83902 branch May 16, 2023 11:08
@vercel vercel bot temporarily deployed to Preview – ui May 16, 2023 11:09 Inactive
@vercel vercel bot temporarily deployed to Preview – web May 16, 2023 11:11 Inactive
@vercel vercel bot temporarily deployed to Preview – prerender May 16, 2023 11:12 Inactive
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.

1 participant