We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55faa5 commit ab07779Copy full SHA for ab07779
1 file changed
changelog_unreleased/angular/18722.md
@@ -1,4 +1,26 @@
1
-#### Support Angular v21.2 (#18722 by @fisker)
+#### 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 "@" HTML entity instead. (3:3)
15
16
+<!-- Prettier main -->
17
18
19
20
21
+```
22
23
+`arrow function` and `instanceof` expressions.
24
25
<!-- prettier-ignore -->
26
```html
0 commit comments