Destructuring support for @let
#57923
Labels
area: core
Issues related to the framework runtime
Milestone
Which @angular/* package(s) are relevant/related to the feature request?
core
Description
It would be great if we could use JavaScript object & array desctructuring with the new
@let
syntax.Originally posted by @HyperLife1119 in #15280 (comment)
Proposed solution
The following syntax is supported (currently it throws an error):
Alternatives considered
The same can be achieved with multiple
@let
blocks but it's more verbose and redundant:The text was updated successfully, but these errors were encountered: