Skip to content

TypeParameter

Information for a Go generic type parameter.

import { TypeParameter } from "@alloy-js/go";
<TypeParameter
constraint={Children}
name={string | Namekey}
refkey={Refkey}
/>
constraintChildrenThe parameter constraint
namestring | NamekeyThe name of the type parameter.
refkeyoptional RefkeyA refkey for this type parameter.