Cell API
    Preparing search index...

    Class ProjectChecker

    cell check (docs/design/agent-first.md R4): the checks that tell before running whether the project works: configuration, TypeScript types, decorator settings, DI bindings of the backend, and the checks of toolchain modules. Every finding is a CheckIssue with a stable code.

    Index
    options: { env?: ProcessEnv; skip?: string[] } = {}
    toolchain: Toolchain
    BUILTIN: string[] = ...
    • The nearest tsconfig.json of the project, with extends of relative files merged.

      Returns { compilerOptions: Record<string, unknown>; file: string } | undefined

    • What failed, without the binding it was resolved from; and the binding that needs it.

      Parameters

      • error: unknown

      Returns { cause: string; requester?: string }

    • file(line,col): error TS1234: message, with indented continuation lines.

      Parameters

      • output: string
      • root: string

      Returns CheckIssue[]

    • Resolves every binding. One cause (a missing binding, a cycle) breaks every binding that depends on it: it is reported once, from the binding that needs it, with the count of the others.

      Parameters

      • container: InversifyContainer

      Returns Promise<CheckIssue[]>