-
-
Notifications
You must be signed in to change notification settings - Fork 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
Enable noImplicitAny for matrix-js-sdk and matrix-react-sdk #21968
Comments
js-sdk now has |
|
@t3chguy is the plan for you to fix all of these yourself as part of this issue? |
@Johennes yes |
Ouch, that seems like a lot then? 😬 I wonder if there's a reasonable way to split this up across multiple people? So that everyone puts in some time rather than just one person having to fight through it alone. |
Not without stepping on each other's feet and causing merge conflicts, given "fixing" a file often needs fixing the files it depends on too. We have tried to spread the load using the PR CI check to prevent you introducing new regressions but people got too unhappy with it making their PRs take too long so it became non-mandatory. |
Yeah, it does seem better at this point to put in time to fix this with a conscious effort rather than relying on PRs. I'm just a little worried about you having to fix a thousand issues all by yourself. Sounds like that might get quite annoying quickly. 😟 The issue of fixes in one file requiring further fixes in dependent files is tricky though. Could we have people work on their chunks sequentially? With 5 devs, each one could take ~50 files but we'd make sure to only have one person work on their subtask at a time? |
@Johennes I've easily fixed 5x that already in previous efforts.
We've tried to encourage people onto these tasks previously and rarely did anyone do any. At this point, to get the Q1 web roadmap task back on track, it needs someone to power through them. |
Ugh. 😳 Ok, well if you're happy to power through them, let's do that. 👍 Just keep in mind that we have 5 people in the immediate team now. So if we wanted to, we could easily organize a team effort here without having to depend on good will. |
@Johennes if you have ideas on how to task those people with further tsc strict tasks in my absence next week to keep the momentum going then that'd be great to roll |
Changes pulled directly from t3chguy's branch. This removes implicit `any` occurrences in `<RoomView />`. See * matrix-org#9940 * element-hq/element-web#21968 Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Changes pulled directly from t3chguy's branch. This removes implicit `any` occurrences in `<RoomView />`. See * matrix-org#9940 * element-hq/element-web#21968 Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Changes pulled directly from t3chguy's branch. This removes implicit `any` occurrences in `<RoomView />`. See * matrix-org#9940 * element-hq/element-web#21968 Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Blocked on #21967 |
Your use case
https://www.typescriptlang.org/tsconfig#noImplicitAny
This will mitigate errors at runtime caused by incorrect types being passed.
Have you considered any alternatives?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: