mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
Fix the quick info on error types
This commit is contained in:
@@ -1288,7 +1288,7 @@ module ts {
|
||||
}
|
||||
|
||||
function writeTypeParameters(typeParameters: TypeParameter[], writer: SymbolWriter, enclosingDeclaration?: Node, flags?: TypeFormatFlags, typeStack?: Type[]) {
|
||||
if (typeParameters) {
|
||||
if (typeParameters && typeParameters.length) {
|
||||
writePunctuation(writer, SyntaxKind.LessThanToken);
|
||||
for (var i = 0; i < typeParameters.length; i++) {
|
||||
if (i > 0) {
|
||||
|
||||
Reference in New Issue
Block a user