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 | ChildrenThe parameter constraint |
| name | string | NamekeyThe name of the type parameter. |
| refkey | optionalRefkeyA refkey for this type parameter. |