@@ -1587,7 +1587,7 @@ namespace ts {
1587
1587
kind : ScriptElementKind . unknown ,
1588
1588
kindModifiers : ScriptElementKindModifier . none ,
1589
1589
textSpan : createTextSpanFromNode ( nodeForQuickInfo , sourceFile ) ,
1590
- displayParts : prefixWithApproximate (
1590
+ displayParts : prefixWithApproximation (
1591
1591
typeChecker . runWithCancellationToken ( cancellationToken , typeChecker => typeToDisplayParts ( typeChecker , type , getContainerNode ( nodeForQuickInfo ) ) )
1592
1592
) ,
1593
1593
documentation : type . symbol ? type . symbol . getDocumentationComment ( typeChecker ) : undefined ,
@@ -1602,7 +1602,7 @@ namespace ts {
1602
1602
kind : symbolKind ,
1603
1603
kindModifiers : SymbolDisplay . getSymbolModifiers ( symbol ) ,
1604
1604
textSpan : createTextSpanFromNode ( nodeForQuickInfo , sourceFile ) ,
1605
- displayParts : prefixWithApproximate ( displayParts ) ,
1605
+ displayParts : prefixWithApproximation ( displayParts ) ,
1606
1606
documentation,
1607
1607
tags,
1608
1608
} ;
@@ -1632,11 +1632,11 @@ namespace ts {
1632
1632
}
1633
1633
}
1634
1634
1635
- function prefixWithApproximate ( displayParts : SymbolDisplayPart [ ] ) : SymbolDisplayPart [ ] {
1635
+ function prefixWithApproximation ( displayParts : SymbolDisplayPart [ ] ) : SymbolDisplayPart [ ] {
1636
1636
if ( languageServiceMode === LanguageServiceMode . Semantic ) {
1637
1637
return displayParts ;
1638
1638
}
1639
- return [ textPart ( "(approximate )" ) , lineBreakPart ( ) , ...displayParts ] ;
1639
+ return [ textPart ( "(approximation )" ) , spacePart ( ) , ...displayParts ] ;
1640
1640
}
1641
1641
1642
1642
/// Goto definition
0 commit comments