import { Children, For, Indent, Show } from "@alloy-js/core"; export interface TypeParametersProps { generics?: Record; } /** * Render a set of generic types for a method or class. */ export function TypeParameters(props: TypeParametersProps) { return ( <> {undefined} 0}> {"<"} {([name, constraint]) => ( <> {name} {constraint && <> extends {constraint}} )} {">"} ); }