Skip to main content
Version: Next 🚧

[I] CodeFixContext

Properties

PropertyModifierTypeDescription
appendTextreadonly(location: SourceLocation | FilePos, text: string) => InsertTextCodeFixEditAdd the given text after the range or pos given.
prependTextreadonly(location: SourceLocation | FilePos, text: string) => InsertTextCodeFixEditAdd the given text before the range or pos given.
replaceTextreadonly(location: SourceLocation, newText: string) => ReplaceTextCodeFixEditReplace the text at the given range.