-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix(server + client): add noImplicitOverride
& add explicit overrides in TRPCError
/ TRPCClientError
#5195
Conversation
…for typescript above v4.3
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@me-imfhd is attempting to deploy a commit to the trpc Team on Vercel. A member of the Team first needs to authorize it. |
Tests are failing due to @trpc/trpc-core does anyone know the historical reason for this? If we decide to change it to align with the build config, we also need to remove 2 |
@kamilogorek any solution you propose i should get tests passing? |
noImplicitOverride
and add explicit overrides in TRPCError
/ TRPCClientError
noImplicitOverride
and add explicit overrides in TRPCError
/ TRPCClientError
noImplicitOverride
& add explicit overrides in TRPCError
/ TRPCClientError
cc @kamilogorek I added a |
This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
…for typescript above v4.3
Closes #5194
Please let me know, if i am doing something i should not, or there is any better way to fix this i would do so on being asked, i am just trying to fix this issue, so users can use this on config where noImplicitOverride is set to true in thier codebase
🎯 Changes
added override keyword which is supposed to fix this issue
developer can now add noImplicitOverride compiler option on and it should not throw the error the issue is talking about
What changes are made in this PR? Is it a feature or a bug fix?
it is a feature/bug for typescript versions above 4.3, if user has enabled the noimplicitOverride keyword, he might get to face this error
✅ Checklist