Skip to content

TypeRefContext

Set the current context of reference to be type reference.

import { TypeRefContext } from "@alloy-js/typescript";
<TypeRefContext >
{children}
</TypeRefContext>

Props

childrenChildren

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.