Skip to content

Make a tsc --noEmit --checkJs check of src/ pass #720

Open

Description

@Shinrai

types:check (#719) builds the declarations and compiles consumer files against them, but nothing type-checks the code inside src/. The declaration build runs with checkJs: false.

Running tsc --noEmit --checkJs over src/**/*.mjs with the declaration config's other settings reports 5,913 errors on next (7c1f3ab). Most are TS2339 (3,121, property not on the type) and TS7006 (588, implicit any parameter). The worst files are unified-wrapper.mjs (1,676), api-manager.mjs (601), modes-processor.mjs (442) and permission-manager.mjs (385).

Once it passes, make that the types:check script, the source check the fleet convention describes, and keep the consumer-side checks under test:types / test:typestubs.

Activity

  1. added
    type: enhancement
    priority: low
    area: core
    status: not started
    on Nov 8, 2026
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

    area: corepriority: lowstatus: not startedtype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions