Modules, Config, and Tooling
Types are only half of TypeScript; the other half is the machinery that compiles, configures, and connects your code to the vast JavaScript ecosystem. ES modules organize code, `tsconfig.json` controls how strictly the compiler checks it, and declaration files let typed and untyped code interoperate. Understanding this layer is what turns a working `.ts` file into a real, maintainable project.
Types are only half of TypeScript; the other half is the machinery that compiles, configures, and connects your code to the JavaScript ecosystem. ES modules organize code, tsconfig.json controls how strictly the compiler checks it (turn on strict), and declaration files let typed and untyped code interoperate. This is the practical infrastructure of a project.