LAION-AI / LAION-AI/Open-Assistant
Enable Typescript strict mode
Open
Nobody has claimed this yet.
good first issue
website
- Dominant language
- Python
- Stars
- 37.4k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
We need to enable Typescript strict mode to make out code safe. This needs to be incremental cause we don't want to break the build.
- Set TS
strictoption to true in the tsconfig file. - Going through each file and checking if there is any error need to fix (or run
npm run typecheck).
We should make small PRs to easily review and avoid conflict.
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 repository's tsconfig file and run npm run typecheck to establish the current errors. Review the TypeScript files incrementally, keeping the changes in small PRs; the work is done when strict mode is enabled and type checking passes without breaking the build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100