Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 32ca804

Browse filesBrowse files
author
Andy Hanson
committed
Restore duplicate comments
1 parent 52a0b4b commit 32ca804
Copy full SHA for 32ca804

1 file changed

+6-1Lines changed: 6 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/services/types.ts‎

Copy file name to clipboardExpand all lines: src/services/types.ts
+6-1Lines changed: 6 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.