angular/packages/compiler-cli/src
Kristiyan Kostadinov 51ac883167 fix(compiler-cli): don't type check the bodies of control flow nodes in basic mode (#55558)
Angular only checks the contents of template nodes in full type checking mode. After v17, the new control flow always had its body checked, even in basic mode, which started revealing compilation errors for apps that were using the schematic to automatically switch to the new syntax.

These changes mimic the old behavior by not checking the bodies of `if`, `switch` and `for` blocks in basic mode. Note that the expressions of the blocks are still going to be checked.

Fixes #52969.

PR Close #55558
2024-04-26 09:33:39 -07:00
..
bin refactor(compiler-cli): drop tsickle code paths (#50602) 2023-08-17 10:23:49 -07:00
ngtsc fix(compiler-cli): don't type check the bodies of control flow nodes in basic mode (#55558) 2024-04-26 09:33:39 -07:00
transformers fix(compiler-cli): report errors when initializer APIs are used on private fields (#55070) 2024-03-28 09:13:08 -07:00
extract_i18n.ts refactor(compiler-cli): remove dependency on minimist (#43644) 2021-10-04 17:31:03 -07:00
main.ts refactor(compiler-cli): drop tsickle code paths (#50602) 2023-08-17 10:23:49 -07:00
perform_compile.ts refactor(compiler): clean up compatibility code for old TS versions (#52099) 2023-10-10 09:37:38 -07:00
perform_watch.ts refactor(compiler-cli): update emit signature to support for strongly typed emitCallback (#47893) 2022-11-01 04:44:28 -07:00
typescript_support.ts feat(core): support TypeScript 5.4 (#54414) 2024-02-26 18:29:09 -08:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00
version_helpers.ts refactor(compiler-cli): move version number helpers out of diagnostics subfolder (#44269) 2021-12-01 10:36:30 -08:00