diff --git a/src/Table.tsx b/src/Table.tsx index b334bbb01..f9cbcd84d 100644 --- a/src/Table.tsx +++ b/src/Table.tsx @@ -817,6 +817,7 @@ export function genTable(shouldTriggerRender?: CompareProps): type const ImmutableTable = genTable(); type ImmutableTableType = typeof ImmutableTable & { EXPAND_COLUMN: typeof EXPAND_COLUMN; + INTERNAL_HOOKS: typeof INTERNAL_HOOKS; Column: typeof Column; ColumnGroup: typeof ColumnGroup; Summary: typeof FooterComponents; @@ -824,6 +825,8 @@ type ImmutableTableType = typeof ImmutableTable & { (ImmutableTable as ImmutableTableType).EXPAND_COLUMN = EXPAND_COLUMN; +(ImmutableTable as ImmutableTableType).INTERNAL_HOOKS = INTERNAL_HOOKS; + (ImmutableTable as ImmutableTableType).Column = Column; (ImmutableTable as ImmutableTableType).ColumnGroup = ColumnGroup;