File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2277,6 +2277,9 @@ module ts {
2277
2277
totalParts . push ( { text : " " , kind : SymbolDisplayPartKind . space , symbol : undefined } ) ;
2278
2278
}
2279
2279
else if ( symbol . flags & SymbolFlags . TypeParameter ) {
2280
+ totalParts . push ( { text : "(" , kind : SymbolDisplayPartKind . punctuation , symbol : undefined } ) ;
2281
+ totalParts . push ( { text : "type parameter" , kind : SymbolDisplayPartKind . text , symbol : undefined } ) ;
2282
+ totalParts . push ( { text : ")" , kind : SymbolDisplayPartKind . punctuation , symbol : undefined } ) ;
2280
2283
}
2281
2284
else {
2282
2285
addType = true ;
@@ -2304,7 +2307,8 @@ module ts {
2304
2307
symbol . flags & SymbolFlags . EnumMember ||
2305
2308
symbol . flags & SymbolFlags . Variable ) {
2306
2309
2307
- totalParts . push ( { text : "." , kind : SymbolDisplayPartKind . punctuation , symbol : undefined } ) ;
2310
+ totalParts . push ( { text : ":" , kind : SymbolDisplayPartKind . punctuation , symbol : undefined } ) ;
2311
+ totalParts . push ( { text : " " , kind : SymbolDisplayPartKind . space , symbol : undefined } ) ;
2308
2312
}
2309
2313
2310
2314
if ( addType ) {
You can’t perform that action at this time.
0 commit comments