Skip to content

TypeReference

A type reference like Foo[T, P] or int.

import { TypeReference } from "@alloy-js/python";
<TypeReference name={Children} refkey={Refkey} typeArgs={Children[]} />
nameoptionalChildren

A raw name to reference when no refkey is provided.

refkeyoptionalRefkey

A refkey to a declared symbol.

typeArgsoptionalChildren[]

Type arguments to render inside brackets.