Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine
[Refactoring] - Remove `any` type from `src/backend/tests/projects.test.ts`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36
- Forks
- 9
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 11
Description
Description
Remove the use of the any type from projects.test.ts This may seem very simple, but the point of this is just to have you read through the codebase and understand the types/interfaces used in it, or make new ones that fit the shape of the data being used.
Notes
Check #665 for notes on why we're doing this and pointers on what you should replace any with.
Acceptance Criteria
any is not used as a type in projects.test.ts
Contributor guide
No contributing guide indexed for this repository
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 src/backend/tests/projects.test.ts and read issue #665 for the rationale and replacement guidance. Trace the data shapes through the existing types or interfaces, replace every any type with an appropriate type, and run the relevant projects tests to confirm that any is no longer used in the file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100