diff options
Diffstat (limited to 'web/src/types.ts')
| -rw-r--r-- | web/src/types.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/web/src/types.ts b/web/src/types.ts index df421d7..008d1ee 100644 --- a/web/src/types.ts +++ b/web/src/types.ts @@ -2,22 +2,23 @@ import Ratio from "./math/Ratio"; export interface Cell { value?: string; + widthRatio: Ratio; } export interface Row { - cells: [Cell, ...Cell[]]; + cells: Cell[]; } export interface Part { title?: string; - rows: [Row, ...Row[]]; + rows: Row[]; } export interface Grid { id: string; baseCellSize: number; baseCellWidthRatio: Ratio; - parts: [Part, ...Part[]]; + parts: Part[]; } export interface Doc { |
