diff --git a/types/index.d.ts b/types/index.d.ts index 1ee4149a..afae8e30 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -30,7 +30,7 @@ declare module 'react-data-export' { export type ExcelValue = string | number | Date | boolean; export interface ExcelCell { - value: ExcelCell; + value: ExcelCellValue; style: ExcelStyle; } diff --git a/types/types.md b/types/types.md index 1deec32a..69bf15ae 100644 --- a/types/types.md +++ b/types/types.md @@ -29,7 +29,7 @@ type ExcelCellData = ExcelValue | ExcelCell; type ExcelValue = string | number | Date | boolean; interface ExcelCell { - value: ExcelCell; + value: ExcelCellValue; style: ExcelStyle; }