Skip to content

TypeDeclaration

import { TypeDeclaration } from "@alloy-js/go";
<TypeDeclaration
alias
doc={Children}
name={string | Namekey}
refkey={Refkey}
symbol={NamedTypeSymbol}
typeParameters={TypeParameterProps[]}
>
{children}
</TypeDeclaration>
aliasoptionalboolean

Whether the type is an alias

childrenoptionalChildren

Type expression

docoptionalChildren

Documentation comment

namestring | Namekey

Type name

refkeyoptionalRefkey

Type refkey

symboloptional[unresolved link]

Type symbol

typeParametersoptionalTypeParameterProps[]

Type parameters