TypeRefContext
Set the current context of reference to be type reference.
import { TypeRefContext } from "@alloy-js/typescript";
<TypeRefContext > {children}</TypeRefContext>
import { TypeRefContext } from "@alloy-js/typescript/stc";
TypeRefContext({ }).children(children)
Props
children | Children Children |
Remarks
References used inside the children of this component will be treated as type reference Reference.
Prefer using [unresolved link] when wrapping the whole component to reduce tree nodes.