Code quality

TypeScript configuration

Keep strict type checking on, and make sure the config matches the framework you use.

Why it matters

A loose or mismatched config lets type errors through, and those errors become runtime failures for users.

Strict mode is not about style. It catches missing values and wrong shapes before they reach production.

How to fix it

  1. Turn on strict in tsconfig.json

  2. Check the include and exclude paths

  3. Run the type check in CI

Prompt for an AI assistant

Copy the text below and paste it into an AI assistant.

You are the person improving this website. Check the item below and fix it if it applies to the site.

Item: TypeScript configuration
Summary: Keep strict type checking on, and make sure the config matches the framework you use.
Steps:
1. Turn on strict in tsconfig.json
2. Check the include and exclude paths
3. Run the type check in CI
References:
- TSConfig reference (TypeScript) (https://www.typescriptlang.org/tsconfig/)

Constraints:
- Keep the existing design and tone of voice.
- Show the file or section you changed and the suggested final wording.
- Do not decide ambiguous points alone; give options and a recommendation.
- Do not change anything outside the listed item.

Related checks

References

Check your site now

Enter a URL and find what is missing before launch, for free.

Run audit