matrix-org / matrix-org/mjolnir
stop typing `event` as `any`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 445
- Forks
- 75
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 3
Description
e.g.
https://github.com/matrix-org/mjolnir/blob/ff9a7db159b95c1c1e196a022908e4bde1d6a081/src/protections/IProtection.ts#L31
https://github.com/matrix-org/mjolnir/blob/ff9a7db159b95c1c1e196a022908e4bde1d6a081/src/Mjolnir.ts#L88
https://github.com/matrix-org/mjolnir/blob/ff9a7db159b95c1c1e196a022908e4bde1d6a081/src/report/ReportManager.ts#L114
etc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced locations in src/protections/IProtection.ts, src/Mjolnir.ts, and src/report/ReportManager.ts, then search the project for other event parameters typed as any. Identify the appropriate event types for each use and verify the resulting changes with the project's available tests or type-check command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100