Skip to content

[04/44] Enable TS strict mode in dot-layout-grid #35937

Description

@nicobytes

Description

Part of the strict-mode rollout epic #35932. Enable TypeScript strict mode for the dot-layout-grid project using typescript-strict-plugin.

  • Dependency layer: 0 (0 = leaf library, 10 = top-level app)
  • Internal dependents: 0 project(s)
  • Rollout order: 4 / 44
  • Note: Isolated (0 dependents) - can be done in parallel anytime.

All internal dependencies of dot-layout-grid should already be in strict mode before starting (they appear earlier in the rollout order).

Acceptance Criteria

  • dot-layout-grid's src is added to the typescript-strict-plugin strict paths config.
  • All resulting type errors are resolved (no new any; use explicit types).
  • // @ts-strict-ignore is used only where unavoidable, each with a follow-up TODO.
  • yarn nx run dot-layout-grid:lint passes (and :build / :test where applicable).
  • npx tsc-strict passes for dot-layout-grid.
  • yarn nx affected -t build does not break dependents.

Priority

Medium

Additional Context

One project in the bottom-up rollout tracked by epic #35932. Depends on the bootstrap task being merged and on lower-layer projects already being strict.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions