Files
test-repo/changelog_unreleased/angular/16862.md
T

22 lines
437 B
Markdown

#### Support Angular 19 (#16862 by @fisker)
Angular 19 added [support for `typeof` keyword in template expressions](https://github.com/angular/angular/pull/58183).
<!-- prettier-ignore -->
```html
<!-- Input -->
<div>{{ typeof
x ===
'object' ? 'Y' : 'N'}}</div>
<!-- Prettier stable -->
<div>
{{ typeof
x ===
'object' ? 'Y' : 'N'}}
</div>
// Prettier main
<div>{{ typeof x === "object" ? "Y" : "N" }}</div>
```