angular/packages/core
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
..
global docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
primitives refactor(core): Use ActionResolver in Dispatcher. (#56369) (#56369) 2024-06-26 08:49:30 -07:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop feat(core): add equality function to rxjs-interop toSignal (#56447) 2024-06-17 08:59:21 -07:00
schematics fix(core): properly remove imports in the afterRender phase migration (#56524) 2024-06-20 08:50:28 -07:00
src refactor(core): Use ActionResolver in Dispatcher. (#56369) (#56369) 2024-06-26 08:49:30 -07:00
test feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
testing refactor(core): Remove hybrid mode flag and move scheduler provider location (#55722) 2024-05-23 18:15:53 +02:00
BUILD.bazel refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: update Node.js to match Angular CLI engines (#56187) 2024-06-03 18:00:46 +00:00
PACKAGE.md
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00