const getTypeParamString = (params) => `<${params.map(p => p.name).join(', ')}>`; export default (docs) => ` ## ${docs.name}${docs.typeParameters ? getTypeParamString(docs.typeParameters) : ''} `;