CodeZettaInterview Hub

TypeScript · Architecture · Fresh / Intern · Architecture

How do you structure types in a large TS monorepo?

Short Interview Answer

Shared packages for domain types, app-local UI types, avoid circular type imports.

Detailed Explanation

Generate API types from OpenAPI. Keep runtime validators next to types.

Did you know this answer?