TypeScript Project References

Parent: TypeScript Expert · researched 2026-06-04T17:05:45.218Z· 6 sources · 8 concepts · skill typescript-project-references-monorepo

A lang-js-ts reference for splitting a TypeScript codebase into multiple referenced projects and building them as a graph with tsc --build. The goal: structure a monorepo (or any multi-tsconfig repo)

TypeScript Project References & Monorepo Builds — `composite`, `tsc -b`, Solution Configs

Overview

`composite: true` — the consumable-project contract

`references` — declaring the edges

Solution-style root `tsconfig.json`

`declarationMap` — cross-project go-to-definition

Build mode internals: up-to-date checks & `.tsbuildinfo`

`${configDir}` (TS 5.5) — shareable bases

Tools / Frameworks

Methodology

Practical Patterns

Anti-Patterns

Troubleshooting

References

Children

← the whole tree · 3D view· how to read this page