-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Open
Description
๐ Search Terms
hover
๐ Version & Regression Information
- typescript version: 5.9.3 - 6.0.1rc
- editor: vs code
โฏ Playground Link
No response
๐ป Code
type X = {
a?: A
b?: A
c?: A
}
type A = {}๐ Actual behavior
When hover on X, it shows:
type X = {
a?: A | undefined;
b?: A;
c?: A;
}๐ Expected behavior
It's expected to show:
type X = {
a?: A | undefined;
b?: A | undefined;
c?: A | undefined;
}Additional information about the issue
Of course option exactOptionalPropertyTypes set to false.
And tsgo version works well (though there's no line break format yet):
type X = { a?: A | undefined; b?: A | undefined; c?: A | undefined; }Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels