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}
/>
constraintChildren

The parameter constraint

namestring | Namekey

The name of the type parameter.

refkeyoptionalRefkey

A refkey for this type parameter.