-
-
Notifications
You must be signed in to change notification settings - Fork 602
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 all @ts-expect-error #4640
Comments
I would like to crush all the type errors in the code(call me TS error crusher). Would you like to assign this to me? There are pretty many of them so would you think that curating a list first would be a better approach? Thanks! |
Yes, type gymnastics is back! |
Let me first recap the current status of ts-error usage in the repo. OverviewAt the moment, more specifically eea9d06, rspack has 302 ts-expect-errors.
Rspack core packages breakdownSince rspack core packages itself has many ts-expect-error, a breakdown will be helpful to make every pull request change small and manageable.
StrategyType errors are nasty to see in codebase but should not impact runtime behavior. Progress Tracking
|
Please remember not modify any tsconfig during refactor, because it's easy to be broken like #4650 |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
@SoonIter is this finished? |
not all but most of them, there are still several parts
and some one or two small pieces |
#3863 introduces lots of //@ts-expect-error as workaround to enable typecheck test,
but we should fix and remove all of it
The text was updated successfully, but these errors were encountered: