[I] CodeFixContext
Properties
Property | Modifier | Type | Description |
---|---|---|---|
appendText | readonly | (location : SourceLocation | FilePos , text : string ) => InsertTextCodeFixEdit | Add the given text after the range or pos given. |
prependText | readonly | (location : SourceLocation | FilePos , text : string ) => InsertTextCodeFixEdit | Add the given text before the range or pos given. |
replaceText | readonly | (location : SourceLocation , newText : string ) => ReplaceTextCodeFixEdit | Replace the text at the given range. |