angular/packages/compiler-cli/test/compliance/test_cases
Kristiyan Kostadinov 0a48d584f2 feat(core): add support for let syntax (#56715)
Enables the new `@let` syntax by default.

`@let` declarations are defined as:
1. The `@let` keyword.
2. Followed by one or more whitespaces.
3. Followed by a valid JavaScript name and zero or more whitespaces.
4. Followed by the `=` symbol and zero or more whitespaces.
5. Followed by an Angular expression which can be multi-line.
6. Terminated by the `;` symbol.

Example usage:
```
@let user = user$ | async;
@let greeting = user ? 'Hello, ' + user.name : 'Loading';
<h1>{{greeting}}</h1>
```

Fixes #15280.

PR Close #56715
2024-06-26 12:37:02 -07:00
..
model_inputs build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
output_function build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_compiler_compliance build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_bindings build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_control_flow build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_deferred build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_di/di perf(compiler): further reduce bundle size using arrow functions (#52010) 2023-10-04 07:25:54 -07:00
r3_view_compiler_directives build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_i18n build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_input_outputs fix(compiler): output input flags as a literal (#55215) 2024-04-04 11:13:52 -07:00
r3_view_compiler_let feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
r3_view_compiler_listener build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_providers fix(compiler-cli): libraries compiled with v16.1+ breaking with Angular framework v16.0.x (#50714) 2023-06-14 16:27:59 +02:00
r3_view_compiler_styling build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_template build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
signal_inputs build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
signal_queries build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
source_mapping build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
BUILD.bazel test: refactor compiler-cli compliance test to work on windows (#45431) 2022-03-25 12:18:34 -07:00
list_golden_update_rules.ts refactor(compiler-cli): use semver range checking for partial versions (#39847) 2020-12-04 10:26:17 -08:00
replace.sh refactor(compiler): Delete TemplateDefinitionBuilder acceptance test expectations (#54757) 2024-03-08 16:51:01 -08:00
test_case_schema.json refactor(compiler): Delete TemplateDefinitionBuilder acceptance test expectations (#54757) 2024-03-08 16:51:01 -08:00