angular/packages/compiler-cli
Kristiyan Kostadinov ca55b3d454 fix(compiler-cli): generate valid TS 5.6 type checking code (#57303)
Currently in some scenarios the compiler generates code like `null as any ? foo : bar` which will be invalid with [an upcoming TypeScript change](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6-beta/#disallowed-nullish-and-truthy-checks). These changes switch to generating `0 as any` which is exempt from the change.

**Note:** I'm not starting the work to fully get us on TS 5.6 until the 18.2 release comes out, but this change is necessary to unblock an internal team.

PR Close #57303
2024-08-08 08:30:12 -07:00
..
integrationtest fix(core): link errors to ADEV (#55554) (#56038) 2024-05-28 12:50:53 +02:00
linker feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
ngcc refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
private refactor(migrations): use common import manager for schematics (#57096) 2024-07-23 12:17:41 -07:00
src fix(compiler-cli): generate valid TS 5.6 type checking code (#57303) 2024-08-08 08:30:12 -07:00
test fix(compiler): reduce chance of conflicts between generated factory and local variables (#57181) 2024-08-07 17:25:05 +00:00
BUILD.bazel refactor(compiler-cli): move JIT transforms into ngtsc (#56892) 2024-07-10 17:29:20 +02:00
esbuild.config.js refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
index.ts refactor(compiler-cli): move JIT transforms into ngtsc (#56892) 2024-07-10 17:29:20 +02:00
package.json build: update babel dependencies (#57045) 2024-07-19 13:46:00 -07:00
tsconfig-build.json refactor(compiler-cli): dismantle View Engine implementation of ngc (#44269) 2021-12-01 10:36:30 -08:00
tsconfig.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00