// https://github.com/TypeStrong/typedoc-default-themes/blob/master/src/default/partials/typeParameters.hbs import type { JSONOutput } from 'typedoc'; import { Comment } from './Comment'; import { DefaultValue } from './DefaultValue'; import { Type } from './Type'; export interface TypeParametersProps { params?: JSONOutput.TypeParameterReflection[]; } export function TypeParameters({ params }: TypeParametersProps) { if (!params || params.length === 0) { return null; } return (