in src/printers.ts [287:303]
function printDescription(
def,
indentation = '',
firstInBlock = true,
): string {
if (!def.description) {
return '';
}
const lines = descriptionLines(def.description, 120 - indentation.length);
const text = lines.join('\n');
const preferMultipleLines = text.length > 70;
const blockString = printBlockString(text, '', preferMultipleLines);
const prefix =
indentation && !firstInBlock ? '\n' + indentation : indentation;
return prefix + blockString.replace(/\n/g, '\n' + indentation) + '\n';
}