-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.73.1
- OS Version: macos 13.0.1
Steps to Reproduce: (format this with default formatter)

type B = 'b'
const a = {
b: 'c'
} as const satisfies {
[index in B]: string
}
const c = {
b: 'c'
} as const satisfies {
[index: string]: string
}
const d = {
b: 'c'
} satisfies {
[index in B]: string
}
const e = {
b: 'c'
} satisfies {
[index: string]: string
}Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone