angular/packages/compiler-cli
Dylan Hunn f824911510 fix(compiler): For FatalDiagnosticError, hide the message field without affecting the emit (#55160)
We want to hide `.message` from users, but the previous approach is not compatible with a specific [TS 3.7 flag](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#the-usedefineforclassfields-flag-and-the-declare-property-modifier) ("using class fields to specialize properties from base classes also won’t work"). I received a request from the TS team to fix this, so they can enable that flag.

Instead, we just override `message` to `never` in the .d.ts using `declare`.

PR Close #55160
2024-04-02 16:20:23 +00:00
..
integrationtest refactor: fix a number of typos throughout the codebase (#52249) 2023-10-25 16:51:24 -07:00
linker feat(compiler-cli): add partial compilation support for deferred blocks (#54908) 2024-03-21 22:15:32 -07:00
ngcc refactor(compiler-cli): add back ngcc as a no-op with a warning (#50045) 2023-04-28 18:18:40 +02:00
private refactor(compiler-cli): group initializer-API based transforms into single transform (#54200) 2024-02-01 15:58:50 +00:00
src fix(compiler): For FatalDiagnosticError, hide the message field without affecting the emit (#55160) 2024-04-02 16:20:23 +00:00
test fix(compiler-cli): use switch statements to narrow Angular switch blocks (#55168) 2024-04-02 16:19:47 +00:00
BUILD.bazel refactor(compiler-cli): add transform to support signal input in JIT (#53808) 2024-01-10 12:21:05 +00:00
esbuild.config.js refactor: remove __ESM_IMPORT_META_URL__ workaround now that we can use ESM (#48521) 2022-12-19 19:50:41 +00:00
index.ts refactor(compiler-cli): support extracting initializer API functions (#54925) 2024-03-26 09:17:20 -07:00
package.json build: update dependency @babel/core to v7.24.3 (#55038) 2024-03-29 09:44:58 -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