Skip to content
Snippets Groups Projects
Commit 34ea601f authored by jojohoch's avatar jojohoch
Browse files

Enable index access to `UnitPage` and `UnitPageSection`

parent 84ec5d21
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ export interface Unit {
}
export interface UnitPage {
[index: string]: string | number | boolean | undefined | UnitPageSection[];
id: string;
sections: UnitPageSection[];
width: number;
......@@ -12,6 +13,7 @@ export interface UnitPage {
}
export interface UnitPageSection {
[index: string]: string | number | boolean | undefined | UnitUIElement[];
elements: UnitUIElement[];
width: number;
height: number;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment