8000 Add ': ' to display parts. · prmdeveloper/TypeScript@8b74c4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b74c4a

Browse files
Add ': ' to display parts.
1 parent 7d040f2 commit 8b74c4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/services/services.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5281,9 +5281,13 @@ module ts {
52815281
var position = node.getEnd();
52825282
var type = typeInfoResolver.getTypeAtLocation(node);
52835283

5284+
var displayParts = typeToDisplayParts(typeInfoResolver, type, getContainerNode(node));
5285+
displayParts.unshift(displayPart(" ", SymbolDisplayPartKind.space));
5286+
displayParts.unshift(displayPart(":", SymbolDisplayPartKind.punctuation));
5287+
52845288
return {
52855289
position,
5286-
displayParts: typeToDisplayParts(typeInfoResolver, type, getContainerNode(node))
5290+
displayParts
52875291
};
52885292
}
52895293

0 commit comments

Comments
 (0)
0