mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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.
|
||
|---|---|---|
| .. | ||
| bin | ||
| ngtsc | ||
| transformers | ||
| extract_i18n.ts | ||
| main.ts | ||
| perform_compile.ts | ||
| perform_watch.ts | ||
| typescript_support.ts | ||
| version.ts | ||
| version_helpers.ts | ||