Annotation
Use an annotation in code, not declaring a new annotation. For instance, use this if you want to annotate a method with ‘@Override’.
import { Annotation } from "@alloy-js/java";
<Annotation type={Children} value={Record<string, Children>} />
import { Annotation } from "@alloy-js/java/stc";
Annotation({ type: Children, value: Record<string, Children>,}).children(children)
Props
type | Children |
value | optionalRecord<string, Children> |