Skip to content

ref

import { ref } from "@alloy-js/typescript";
function ref(refkey: Refkey, options?: RefOptions): () => [Children, TSOutputSymbol | undefined];
refkey

Refkey

optionsoptional

RefOptions

typeoptionalboolean
() => [Children, [unresolved link] | undefined]