angular/packages/compiler-cli
Andrew Scott 2eae497a04 feat(compiler-cli): support external TCBs with copied content in specific mode
This change adds a new  that allows environments that cannot support inline TCBs (such as the language service or source-to-source transforms where TS compilation and emit are downstream) to still perform template type checking.

    Instead of inlining the TCB into the original source file when non-exported symbols are referenced, we now copy the file content to the .ngtypecheck.ts shim file and generate the external TCB there, if requested by the inlining mode. This preserves the local scope of the original file while keeping the original file unmodified.
2026-04-29 16:08:33 -07:00
..
linker feat(compiler): Angular expressions with optional chaining returns undefined 2026-04-28 15:26:53 -07:00
private refactor(compiler): move TCB generation logic into compiler 2026-04-15 19:43:29 +03:00
src feat(compiler-cli): support external TCBs with copied content in specific mode 2026-04-29 16:08:33 -07:00
test feat(compiler): Angular expressions with optional chaining returns undefined 2026-04-28 15:26:53 -07:00
BUILD.bazel build: cleanup workspace deps 2026-04-23 11:38:26 -07:00
esbuild.config.js build: use esbuild from aspect rules (#62568) 2025-07-10 13:45:15 -07:00
index.ts feat(compiler-cli): support external TCBs with copied content in specific mode 2026-04-29 16:08:33 -07:00
package.json build: cleanup workspace deps 2026-04-23 11:38:26 -07:00
tsconfig-test.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
tsconfig.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00