ref
import { ref } from "@alloy-js/python";
function ref(refkey: Refkey, options?: RefOptions): () => [Children, PythonOutputSymbol | undefined];Parameters
Section titled “Parameters”| refkey |
|
| options | optional
|
Options
Section titled “Options”| type | optionalbooleanIf true, this reference is only used in a type annotation context.
The import will be guarded with |
Returns
Section titled “Returns”() => [Children, [unresolved link] | undefined]