Skip to content

Enable TypeScript strict mode in frontend #16

@SL-Mar

Description

@SL-Mar

Problem

Frontend tsconfig.json may not have strict mode fully enabled, allowing implicit any types and unchecked nulls. This reduces type safety and makes refactoring riskier.

Steps to fix

  1. Set "strict": true in tsconfig.json
  2. Enable noImplicitAny, strictNullChecks, strictFunctionTypes
  3. Fix type errors that emerge
  4. Consider adding pre-commit ESLint hook

Files

  • frontend/tsconfig.json
  • Various .tsx files (fix type errors)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Priority: lowfrontendFrontend relatedrefactorCode improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions