OpenSlides / OpenSlides/openslides-client

Enable strict typescript features

Open
#1,251 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clean up enhancement
Dominant language
TypeScript
Stars
35
Forks
52
Avg merge
1d 9h
Merged PRs (30d)
52

Description

Strict TypeScript features improve code maintenance because they prevent the compiling of code if the features are not fulfilled.

These are:

  • strictPropertyInitialization
  • strictBindCallApply
  • strictNullChecks
  • strictFunctionTypes

The features are enabled in the tsconfig.json. Remove the strict: false when enabling them.

Contributor guide

No contributing guide indexed for this repository

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 tsconfig.json and inspect the current compiler configuration. Enable strictPropertyInitialization, strictBindCallApply, strictNullChecks, and strictFunctionTypes, then run the project's TypeScript compilation or build command to identify resulting errors. Done means strict: false is removed and the project compiles successfully with these features enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.