Patches the TypeScript compiler to generate JSDoc annotations for Google Closure Compiler integration. Stable version 1.8.11 is compatible with TypeScript 1.8.10. Release cadence matches TypeScript major.minor versions. This package is a niche tool specifically for combining TypeScript with Closure Compiler's advanced optimizations, unlike general-purpose TypeScript compilers. It provides a CLI command `tscc` that replaces `tsc` and adds options for entry points, exports, and externs. Not actively maintained; last release in 2016. Users should be aware of TypeScript version lock-in and potential issues with modern TypeScript features.
npm install typescript-closure-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installation, basic usage, common options (entry, export, externs), and tsconfig.json usage for the tscc CLI.
Pin to TypeScript 1.8.x; do not upgrade TypeScript without upgrading this package.
Consider alternatives like tsickle or direct Closure Compiler usage.
Do not rely on module syntax in output; code will be concatenated into a single file without module wrappers.
Run 'npm install -g typescript@1.8.10' alongside typescript-closure-compiler.
Use 'tscc' command instead of 'tsc' when employing package-specific options.