File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -7292,7 +7292,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
7292
7292
i++;
7293
7293
if (checkTruncationLength(context) && (i + 2 < types.length - 1)) {
7294
7294
if (context.flags & NodeBuilderFlags.NoTruncation) {
7295
- return [addSyntheticLeadingComment(factory.createKeywordTypeNode(SyntaxKind.AnyKeyword), SyntaxKind.MultiLineCommentTrivia, " elided" )];
7295
+ return [addSyntheticLeadingComment(factory.createKeywordTypeNode(SyntaxKind.AnyKeyword), SyntaxKind.MultiLineCommentTrivia, `... ${types.length - i} more elided ...` )];
7296
7296
}
7297
7297
result.push(factory.createTypeReferenceNode(`... ${types.length - i} more ...`, /*typeArguments*/ undefined));
7298
7298
const typeNode = typeToTypeNodeHelper(types[types.length - 1], context);
You can’t perform that action at this time.
0 commit comments