Clean changelog_unreleased
This commit is contained in:
1 parent
4fc98dcba4
commit
cfe721e7ce
1 file changed
-16
@@ -1,16 +0,0 @@
|
||||
#### Fix missing parentheses in `ConditionalTypeAnnotation` (#17196 by @fisker)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
// Input
|
||||
type T<U> = 'a' | ('b' extends U ? 'c' : empty);
|
||||
type T<U> = 'a' & ('b' extends U ? 'c' : empty);
|
||||
|
||||
// Prettier stable
|
||||
type T<U> = "a" | "b" extends U ? "c" : empty;
|
||||
type T<U> = "a" & "b" extends U ? "c" : empty;
|
||||
|
||||
// Prettier main
|
||||
type T<U> = "a" | ("b" extends U ? "c" : empty);
|
||||
type T<U> = "a" & ("b" extends U ? "c" : empty);
|
||||
```
|
||||
Reference in new issue
Block a user