File tree 3 files changed +16
-1
lines changed
tests/baselines/reference/api
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -718,8 +718,13 @@ namespace ts {
718
718
export interface CompletionEntry {
719
719
name : string ;
720
720
kind : ScriptElementKind ;
721
- kindModifiers : string ;
721
+ kindModifiers : string ; // see ScriptElementKindModifier, comma separated
722
722
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
+ */
723
728
replacementSpan ?: TextSpan ;
724
729
hasAction ?: true ;
725
730
source ?: string ;
Original file line number Diff line number Diff line change @@ -4341,6 +4341,11 @@ declare namespace ts {
4341
4341
kind : ScriptElementKind ;
4342
4342
kindModifiers : string ;
4343
4343
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
+ */
4344
4349
replacementSpan ?: TextSpan ;
4345
4350
hasAction ?: true ;
4346
4351
source ?: string ;
Original file line number Diff line number Diff line change @@ -4341,6 +4341,11 @@ declare namespace ts {
4341
4341
kind : ScriptElementKind ;
4342
4342
kindModifiers : string ;
4343
4343
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
+ */
4344
4349
replacementSpan ?: TextSpan ;
4345
4350
hasAction ?: true ;
4346
4351
source ?: string ;
You can’t perform that action at this time.
0 commit comments