import { Fragment } from 'react'; import type { JSONOutput } from 'typedoc'; export interface TypeParametersGenericProps { params?: JSONOutput.TypeParameterReflection[]; } export function TypeParametersGeneric({ params }: TypeParametersGenericProps) { if (!params || params.length === 0) { return null; } return ( < {params.map((param, i) => ( {i > 0 && , } {param.name} ))} > ); }