reforged-types 1.0.0-alpha.0 → 1.0.0-alpha.2

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.
@@ -18672,9 +18672,10 @@ declare function GetStoredBoolean(cache: gamecache, missionKey: string, key: str
18672
18672
  * @param missionKey - string
18673
18673
  * @param key - string
18674
18674
  * @returns string
18675
+ * @remarks Typed non-null, unlike the other string-returning Natives: the game gives an empty string when the cache holds no string under the key (jassdoc, `GetStoredString`).
18675
18676
  * @see {@link https://lep.duckdns.org/jassbot/doc/GetStoredString}
18676
18677
  */
18677
- declare function GetStoredString(cache: gamecache, missionKey: string, key: string): string | undefined;
18678
+ declare function GetStoredString(cache: gamecache, missionKey: string, key: string): string;
18678
18679
 
18679
18680
  /**
18680
18681
  * @param cache - gamecache
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reforged-types",
3
- "version": "1.0.0-alpha.0",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "TypeScript declarations for the Warcraft III Reforged natives, generated from the game's Patch files.",
5
5
  "license": "MIT",
6
6
  "type": "module",