Clean changelog_unreleased

This commit is contained in:
fisker committed 2026-06-29 19:39:14 +08:00
1 parent 3732e1dee6
commit 6cfbc00921
2 files changed
-40

No files matched your search

-17
View File
@@ -1,17 +0,0 @@
#### Fix unexpected removal of characters in liquid syntax (#19489 by @seiyab)
<!-- prettier-ignore -->
```md
// Input
<!-- Input -->
{{ page.title
}} text
<!-- Prettier stable -->
{{ page.title
text
<!-- Prettier main -->
{{ page.title
}} text
```
-23
View File
@@ -1,23 +0,0 @@
#### Allow decorators to be used with declare on class fields (#19492 by @evoactivity)
Extensively used within the Ember ecosystem, decorators with `declare` on class fields will ignore the babel parser error and allow Prettier to format the code without breaking it.
<!-- prettier-ignore -->
```ts
// Input
export default class ProjectStatusComponent extends Component<ProjectStatusSig> {
@service declare server: ServerService;
}
// Prettier stable
// SyntaxError: Decorators can't be used with a declare field. (2:3)
// 1 | export default class ProjectStatusComponent extends Component<ProjectStatusSig> {
//> 2 | @service declare server: ServerService;
// | ^
// 3 | }
// Prettier main
export default class ProjectStatusComponent extends Component<ProjectStatusSig> {
@service declare server: ServerService;
}
```