Skip to content

TypeArguments

Type arguments for a generic type. Can be called with either an array of Children which are rendered as type arguments, or an array of TypeArgumentDescriptors which allow for specifying use-site variance.

import { TypeArguments } from "@alloy-js/java";
<TypeArguments args={Children[] | TypeArgumentDescriptor[]} />

Props

argsoptionalChildren[] | TypeArgumentDescriptor[]