Release 3.5.3

This commit is contained in:
fisker committed 2025-03-03 09:17:10 +08:00
1 parent a2e560e951
commit 4ff5dc540f
5 files changed
+42 -21

No files matched your search

+21
View File
@@ -1,3 +1,24 @@
# 3.5.3
[diff](https://github.com/prettier/prettier/compare/3.5.2...3.5.3)
#### Flow: Fix missing parentheses in `ConditionalTypeAnnotation` ([#17196](https://github.com/prettier/prettier/pull/17196) by [@fisker](https://github.com/fisker))
<!-- prettier-ignore -->
```jsx
// Input
type T<U> = 'a' | ('b' extends U ? 'c' : empty);
type T<U> = 'a' & ('b' extends U ? 'c' : empty);
// Prettier 3.5.2
type T<U> = "a" | "b" extends U ? "c" : empty;
type T<U> = "a" & "b" extends U ? "c" : empty;
// Prettier 3.5.3
type T<U> = "a" | ("b" extends U ? "c" : empty);
type T<U> = "a" & ("b" extends U ? "c" : empty);
```
# 3.5.2
[diff](https://github.com/prettier/prettier/compare/3.5.1...3.5.2)