VariableDeclaration
import { VariableDeclaration } from "@alloy-js/go";
<VariableDeclaration const doc={Children} name={string | Namekey} refkey={Refkey} type={Children}> {children}</VariableDeclaration>import { VariableDeclaration } from "@alloy-js/go/stc";
VariableDeclaration({ const: boolean, doc: Children, name: string | Namekey, refkey: Refkey, type: Children,}).children(children)| children | optionalChildrenInitializer expression |
| const | optionalbooleanWhether this is a |
| doc | optionalChildrenDocumentation comment |
| name | string | NamekeyVariable name |
| refkey | optionalRefkeyVariable refkey |
| type | optionalChildrenType of the variable declaration |