# 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 [TypeArgumentDescriptor](../../types/typeargumentdescriptor/)s which allow for specifying use-site variance.

* jsx

  ```tsx
  import { TypeArguments } from "@alloy-js/java";


  <TypeArguments args={Children[] | TypeArgumentDescriptor[]} />
  ```

* stc

  ```ts
  import { TypeArguments } from "@alloy-js/java/stc";


  TypeArguments({
    args: Children[] | TypeArgumentDescriptor[],
  }).children(children)
  ```

## Props

|      |                                                                                                                           |   |
| ---- | ------------------------------------------------------------------------------------------------------------------------- | - |
| args | optional [Children](../../../core/types/children/)\[] \| [TypeArgumentDescriptor](../../types/typeargumentdescriptor/)\[] |   |
