angular/packages/compiler-cli/src/ngtsc
cexbrayat 33b5707ee9 fix(compiler-cli): interpolatedSignalNotInvoked diagnostic (#53585)
The diagnostic was catching the following case:

```ts
name = signal('Angular');
```

but not the following ones:

```ts
name = signal('Angular').asReadonly();
name = computed(() => 'Angular');
name!: Signal<string>
```

This was not catched in the tests because the type of `Signal` is different than the one actually used in core.
It turns out the real type forces the diagnostic to check both the `symbol.tsType.symbol` and the `symbol.tsType.aliasSymbol`.

PR Close #53585
2024-01-03 10:19:54 -08:00
..
annotations refactor(compiler-cli): capture signal inputs in semantic graph for directives (#53521) 2023-12-13 15:44:00 -08:00
core fix(compiler-cli): add compiler option to disable control flow content projection diagnostic (#53311) 2023-12-05 17:21:16 -08:00
cycles build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
diagnostics fix(compiler-cli): add compiler option to disable control flow content projection diagnostic (#53311) 2023-12-05 17:21:16 -08:00
docs feat(core): support TypeScript 5.3 (#52572) 2023-11-09 22:56:41 +00:00
entry_point build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
file_system build: remove Windows CI check (#52140) 2023-10-10 14:07:03 -07:00
imports fix(compiler): handle ambient types in input transform function (#51474) 2023-12-13 09:15:17 -08:00
incremental docs(core): fix the language code (#52352) 2023-10-25 09:32:17 -07:00
indexer refactor(compiler-cli): expose ng-content selectors and preserveWhitespaces during template type checking (#53190) 2023-11-28 11:18:43 +01:00
logging build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
metadata refactor(compiler-cli): finalize transform support for signal input transforms (#53521) 2023-12-13 15:44:00 -08:00
partial_evaluator fix(compiler): handle ambient types in input transform function (#51474) 2023-12-13 09:15:17 -08:00
perf feat(language-service): Implement outlining spans for control flow blocks (#52062) 2023-10-09 10:20:26 -07:00
program_driver fix(compiler): allow TS jsDocParsingMode host option to be programmatically set again (#53292) 2023-12-01 10:35:07 -08:00
reflection fix(compiler): handle ambient types in input transform function (#51474) 2023-12-13 09:15:17 -08:00
resource refactor: update code to be ES2022 compliant (#49559) 2023-03-23 08:18:45 -07:00
scope refactor(compiler-cli): expose ng-content selectors and preserveWhitespaces during template type checking (#53190) 2023-11-28 11:18:43 +01:00
shims feat(compiler): drop support for TypeScript 4.8 (#49155) 2023-02-23 10:39:43 -08:00
sourcemaps build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
testing test(compiler-cli): set up fake_core implementation of input (#53521) 2023-12-13 15:44:00 -08:00
transform refactor(compiler): drop regular imports when symbols can be defer-loaded (#51171) 2023-08-04 11:28:07 -04:00
translator fix(compiler): handle ambient types in input transform function (#51474) 2023-12-13 09:15:17 -08:00
typecheck fix(compiler-cli): interpolatedSignalNotInvoked diagnostic (#53585) 2024-01-03 10:19:54 -08:00
util refactor(compiler): drop regular imports when symbols can be defer-loaded (#51171) 2023-08-04 11:28:07 -04:00
xi18n refactor(compiler-cli): support xi18n in ngtsc (#42485) 2021-06-21 16:50:28 +00:00
program.ts feat(compiler): extract docs via exports (#51828) 2023-09-20 18:34:55 +02:00
tsc_plugin.ts refactor(compiler-cli): Export the interface PluginCompilerHost for 1p use. (#48874) 2023-02-02 09:44:18 -08:00