Skip to content

[I] CodeFix

PropertyModifierTypeDescription
fixreadonly(fixContext) => | void | Promise<void> | CodeFixEdit | CodeFixEdit[]-
idreadonlystring-
labelreadonlystring-
resolveCodefixes?readonly() => Promise<CodeFix[]>Optional async resolver that expands this codefix into multiple labeled codefixes. Called when the user triggers the code action menu (Ctrl+.). Each returned item becomes a separate entry in the quickfix menu with its own label. If not provided, the single label and fix are used as-is.