Skip to content

Type-check the source with types:check #123

Open

Description

@Shinrai

ci.yml skips the type check because git-embedded is a slothlet-composed API: self.* / context.* resolve at runtime, slothlet's typegen only gave an all-any interface, and a checkJs pass was ~260 errors (investigated 2026-07-19).

That's worth revisiting now. @cldmv/slothlet-types exists, and llm-translator is built on slothlet and passes types:check with it as a dev dependency, so the dynamic API surface isn't the blocker it was.

  • add .configs/tsconfig.json with checkJs over src/ and bin/, typed via @cldmv/slothlet-types
  • a types:check script (tsc --noEmit), per CLDMV/.github's docs/conventions/package-layout.md
  • fix what it finds, then set type_check_command: "npm run types:check" in ci.yml and drop the skip

The existing .configs/tsconfig.dts.jsonc (checkJs: false, declaration-only) isn't used by any script and can go if nothing needs it.

Activity

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