Skip to content

type-safety: phased tightening of client/tsconfig.app.json strict mode #132

Description

@sacha-l

From the bug investigation in #120 — missing api methods typechecked as any because noImplicitAny: false and strict: false.

Severity: minor

File(s): client/tsconfig.app.json

Why: api.listProgramInbox typechecked as any and only crashed at runtime as TypeError: api.listProgramInbox is not a function. The build (tsc && vite build) and lint both passed cleanly because of the loose strictness.

Suggestion: phase in stricter mode — wide blast radius, likely hundreds of errors. Phase plan:

  1. Turn on noImplicitAny: true, fix everything
  2. Then enable strictNullChecks
  3. Then strict: true

Each phase its own PR. Don't try to do it all at once.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claude-suggestedIssue suggested by the Claude agent during a /ship-issue run

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions