diff --git a/types/index.d.ts b/types/index.d.ts index e346b3be05..a5a030bf28 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -119,11 +119,11 @@ export interface SubGroupVisibilityOptions { export interface DataGroup { className?: string; - content: string; + content: string | HTMLElement; id: IdType; options?: DataGroupOptions; style?: string; - subgroupOrder?: string | (() => void); + subgroupOrder?: string | ((a: any, b: any) => number); title?: string; nestedGroups?: IdType[]; subgroupStack?: SubGroupStackOptions | boolean;