Skip to content

Commit 9626796

Browse files
committed
Use a realistic example in the first changelog too
1 parent 23387bf commit 9626796

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎changelog_unreleased/typescript/19939.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33
<!-- prettier-ignore -->
44
```tsx
55
// Input
6-
const t1 = {
7-
prop1: 1,
8-
} satisfies
6+
const foo = {
7+
bar: 1,
8+
} as
99
// Comment
1010
Record<string, number>;
1111

1212
// Prettier stable (first format)
13-
const t1 = {
14-
prop1: 1,
15-
} satisfies // Comment
13+
const foo = {
14+
bar: 1,
15+
} as // Comment
1616
Record<string, number>;
1717

1818
// Prettier stable (second format)
19-
const t1 = {
20-
prop1: 1,
21-
} satisfies Record<string, number>; // Comment
19+
const foo = {
20+
bar: 1,
21+
} as Record<string, number>; // Comment
2222

2323
// Prettier main
24-
const t1 = {
25-
prop1: 1,
26-
} satisfies
24+
const foo = {
25+
bar: 1,
26+
} as
2727
// Comment
2828
Record<string, number>;
2929
```

0 commit comments

Comments
 (0)