diff --git a/types/gorilla-engine/components/MappingEditor.d.ts b/types/gorilla-engine/components/MappingEditor.d.ts index 7e85cee1e2ebe6..10f12f49d8a1c5 100644 --- a/types/gorilla-engine/components/MappingEditor.d.ts +++ b/types/gorilla-engine/components/MappingEditor.d.ts @@ -1,5 +1,4 @@ declare namespace GorillaEngine.UI { - interface Zone { index: number; rootKey: number; @@ -13,8 +12,8 @@ declare namespace GorillaEngine.UI { parentPath: string; zones?: Zone[]; refreshView(index?: number): void; - addZone(zone: Partial ): Zone; - removeZone(zone: Partial ): void; + addZone(zone: Partial): Zone; + removeZone(zone: Partial): void; } // tslint:disable-next-line:no-empty-interface diff --git a/types/gorilla-engine/gorilla-engine-tests.ts b/types/gorilla-engine/gorilla-engine-tests.ts index 82cbd2dd25287f..6237c1f881f63b 100644 --- a/types/gorilla-engine/gorilla-engine-tests.ts +++ b/types/gorilla-engine/gorilla-engine-tests.ts @@ -1,4 +1,3 @@ - const mylabel = new GorillaEngine.UI.Label({ text: "rr" }); const combo = new GorillaEngine.UI.ComboBox({ id: "myCombo", x: 0 }); @@ -15,4 +14,4 @@ const label = new GorillaEngine.UI.Label({ margin: 5 }); const slider = new GorillaEngine.UI.Slider({ id: "slider", x: 0 }); -const mappingEditor = new GorillaEngine.UI.MappingEditor({ id: 'myMapping'}) +const mappingEditor = new GorillaEngine.UI.MappingEditor({ id: "myMapping" }); diff --git a/types/gorilla-engine/index.d.ts b/types/gorilla-engine/index.d.ts index a4530aa68195df..722a26ad33d83c 100755 --- a/types/gorilla-engine/index.d.ts +++ b/types/gorilla-engine/index.d.ts @@ -596,6 +596,6 @@ declare namespace GorillaEngine { * @param x the x position to place the settings button * @param y the y position to place the settings button */ - function setSettingsButtonPosition(x: number, y: number): void; + function setSettingsButtonPosition(x: number, y: number): void; } -} \ No newline at end of file +}