File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -718,8 +718,13 @@ namespace ts {
718718 export interface CompletionEntry {
719719 name : string ;
720720 kind : ScriptElementKind ;
721- kindModifiers : string ;
721+ kindModifiers : string ; // see ScriptElementKindModifier, comma separated
722722 sortText : string ;
723+ /**
724+ * An optional span that indicates the text to be replaced by this completion item.
725+ * If present, this span should be used instead of the default one.
726+ * It will be set if the required span differs from the one generated by the default replacement behavior.
727+ */
723728 replacementSpan ?: TextSpan ;
724729 hasAction ?: true ;
725730 source ?: string ;
Original file line number Diff line number Diff line change @@ -4341,6 +4341,11 @@ declare namespace ts {
43414341 kind : ScriptElementKind ;
43424342 kindModifiers : string ;
43434343 sortText : string ;
4344+ /**
4345+ * An optional span that indicates the text to be replaced by this completion item.
4346+ * If present, this span should be used instead of the default one.
4347+ * It will be set if the required span differs from the one generated by the default replacement behavior.
4348+ */
43444349 replacementSpan ?: TextSpan ;
43454350 hasAction ?: true ;
43464351 source ?: string ;
Original file line number Diff line number Diff line change @@ -4341,6 +4341,11 @@ declare namespace ts {
43414341 kind : ScriptElementKind ;
43424342 kindModifiers : string ;
43434343 sortText : string ;
4344+ /**
4345+ * An optional span that indicates the text to be replaced by this completion item.
4346+ * If present, this span should be used instead of the default one.
4347+ * It will be set if the required span differs from the one generated by the default replacement behavior.
4348+ */
43444349 replacementSpan ?: TextSpan ;
43454350 hasAction ?: true ;
43464351 source ?: string ;
You can’t perform that action at this time.
0 commit comments