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

Remove type casts #16

Open
kainpets opened this issue Jul 10, 2024 · 1 comment
Open

Remove type casts #16

kainpets opened this issue Jul 10, 2024 · 1 comment

Comments

@kainpets
Copy link
Contributor

kainpets commented Jul 10, 2024

Instead of type using type assertions, prefer to use local Zod parsing as needed, throw null errors, or use a ts-expect-error with a reason.

Let's review any remaining type assertions after trying to remove them via the above methods.

@kainpets kainpets changed the title Add features feat: add features, improve quality Jul 10, 2024
@kainpets kainpets changed the title feat: add features, improve quality feat: add features, improve code quality Jul 10, 2024
@razor-x razor-x changed the title feat: add features, improve code quality Remove type casts from createEndpoints return statement Jul 10, 2024
@razor-x razor-x changed the title Remove type casts from createEndpoints return statement Remove type casts Aug 7, 2024
@razor-x
Copy link
Collaborator

razor-x commented Aug 7, 2024

Related to #23

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

No branches or pull requests

2 participants