8000 Make position the end of the name, not the declaration itself (initia… · nycdotnet/TypeScript@b96692e · GitHub
[go: up one dir, main page]

Skip to content

Commit b96692e

Browse files
Make position the end of the name, not the declaration itself (initializers can much things up).
1 parent 8b74c4a commit b96692e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5278,7 +5278,7 @@ module ts {
52785278
}
52795279

52805280
function nodeToInlineInfo(node: Declaration): InlineInfo {
5281-
var position = node.getEnd();
5281+
var position = node.name.getEnd();
52825282
var type = typeInfoResolver.getTypeAtLocation(node);
52835283

52845284
var displayParts = typeToDisplayParts(typeInfoResolver, type, getContainerNode(node));

0 commit comments

Comments
 (0)
0