InterfaceFunction
import { InterfaceFunction } from "@alloy-js/go";
<InterfaceFunction doc={Children} name={string | Namekey} parameters={FunctionParameterProps[]} refkey={Refkey} returns={Children} />import { InterfaceFunction } from "@alloy-js/go/stc";
InterfaceFunction({ doc: Children, name: string | Namekey, parameters: FunctionParameterProps[], refkey: Refkey, returns: Children,}).children(children)| doc | optional Children | Doc comment |
| name | string | Namekey | |
| parameters | optional FunctionParameterProps[] | |
| refkey | optional Refkey | |
| returns | optional Children |