TypeParameter
Information for a Go generic type parameter.
import { TypeParameter } from "@alloy-js/go";
<TypeParameter constraint={Children} name={string | Namekey} refkey={Refkey} />import { TypeParameter } from "@alloy-js/go/stc";
TypeParameter({ constraint: Children, name: string | Namekey, refkey: Refkey,}).children(children)| constraint | Children | The parameter constraint |
| name | string | Namekey | The name of the type parameter. |
| refkey | optional Refkey | A refkey for this type parameter. |