redhat-developer / redhat-developer/yaml-language-server
Enable default options for TypeScript 6
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
When migrating to TypeScript 6, Remco needed to configure a bunch of different TypeScript compiler options to disable new compiler errors in order get the code compiling.
It would be nice to enable these compiler errors (by removing the code explicitly disabling them) and address the root cause (for the most part adding more type checking or type information).
There's five such options:
- "useUnknownInCatchVariables"
- "strictNullChecks"
- "strictFunctionTypes"
- "noImplicitAny" (maybe, I know this one can be a lot of work from experience)
- "noImplicitThis"
I think we can implement each option across a different PR to make it easier to review.
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 by locating the TypeScript compiler configuration and the explicit disabling of the five listed options. Choose one option for a focused change, then trace and fix the resulting compiler errors by adding the needed type checking or type information. Done means that option is enabled and the project compiles without its related errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100