Skip to content

Commit 32ca804

Browse files
author
Andy Hanson
committed
Restore duplicate comments
1 parent 52a0b4b commit 32ca804

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/services/types.ts

+6-1
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)