Ported AnnotationGroupForm to TypeScript