Skip to content

Commit ab07779

Browse files
committed
Update changelog
1 parent e55faa5 commit ab07779

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

changelog_unreleased/angular/18722.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
1-
#### Support Angular v21.2 (#18722 by @fisker)
1+
#### Support Angular v21.2 (#18722, #19034 by @fisker)
2+
3+
Exhaustive typechecking with `@default never;`
4+
5+
<!-- prettier-ignore -->
6+
```html
7+
<!-- Input -->
8+
@switch (foo) {
9+
@case (1) {}
10+
@default never;
11+
}
12+
13+
<!-- Prettier stable -->
14+
SyntaxError: Incomplete block "default never". If you meant to write the @ character, you should use the "&#64;" HTML entity instead. (3:3)
15+
16+
<!-- Prettier main -->
17+
@switch (foo) {
18+
@case (1) {}
19+
@default never;
20+
}
21+
```
22+
23+
`arrow function` and `instanceof` expressions.
224

325
<!-- prettier-ignore -->
426
```html

0 commit comments

Comments
 (0)