LAION-AI / LAION-AI/Open-Assistant

Enable Typescript strict mode

Open
#879 2 comments 0 reactions 0 assignees View on GitHub

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 strict option 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.