Skip to content

Commit e35016b

Browse files
committed
fix ts error
1 parent 01ed144 commit e35016b

File tree

1 file changed

+2
-1
lines changed
  • packages/x-data-grid-premium/src/hooks/features/export/serializer

1 file changed

+2
-1
lines changed

packages/x-data-grid-premium/src/hooks/features/export/serializer/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ export async function createValueOptionsSheetIfNeeded(
117117
valueOptionsWorksheet.columns = Object.keys(valueOptionsData).map((key) => ({ key }));
118118

119119
Object.entries(valueOptionsData).forEach(([field, { values }]) => {
120-
valueOptionsWorksheet.getColumn(field).values = values;
120+
// TODO: fix this in exceljs fork
121+
valueOptionsWorksheet.getColumn(field).values = values as any;
121122
});
122123
}
123124

0 commit comments

Comments
 (0)