@types/gorilla-engine 1.1.13 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gorilla-engine/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for gorilla-engine (https://gorilla-engin
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 09 Nov 2023 11:07:08 GMT
11
+ * Last updated: Wed, 13 Dec 2023 12:09:50 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
gorilla-engine/index.d.ts CHANGED
@@ -379,11 +379,13 @@ declare namespace GorillaEngine {
379
379
  * @returns The name of the host
380
380
  */
381
381
  function getHostDescription(): string;
382
- function showNativeMessageBox(options: {
382
+ interface MessageBoxOptions {
383
383
  title: string;
384
384
  message: string;
385
- iconType: "info" | "question" | "warning";
386
- }): Promise<any>;
385
+ iconType: "info" | "question" | "warning" | "error";
386
+ }
387
+ function showNativeMessageBoxSync(options: MessageBoxOptions): void;
388
+ function showNativeMessageBox(options: MessageBoxOptions): Promise<void>;
387
389
  function calculateTextWidth(text: string, font: string, fontSize: number, fontKerning: number): Promise<number>;
388
390
  function checkLicense(): boolean;
389
391
  function checkBeatportRTO(): string;
@@ -1,6 +1,6 @@
1
1
  declare namespace GorillaEngine.UI {
2
2
  interface Margin {
3
- margin: {
3
+ margin: number | {
4
4
  other: number;
5
5
  left: number;
6
6
  top: number;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/gorilla-engine",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "TypeScript definitions for gorilla-engine",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "adadaf5009086408ac9ab99b20e00f20e55228f230d269be55f85ccb241e7e41",
49
- "typeScriptVersion": "4.5"
48
+ "typesPublisherContentHash": "7f50468200354f64b8b558be5061d3dc879811a2a46ebac88c9e87dd8263a31f",
49
+ "typeScriptVersion": "4.6"
50
50
  }