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 | optionalChildren Doc comment |
name | string | Namekey |
parameters | optionalFunctionParameterProps[] |
refkey | optionalRefkey |
returns | optionalChildren |