typed-factorio 4.0.0 → 4.0.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typed-factorio",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Featureful typescript definitions for the Factorio modding api.",
5
5
  "keywords": [
6
6
  "factorio",
@@ -22541,18 +22541,8 @@ declare module "factorio:runtime" {
22541
22541
  * _Can only be used if this is choose-elem-button_
22542
22542
  * @see {@link https://lua-api.factorio.com/2.1.7/classes/LuaGuiElement.html#elem_value Online documentation}
22543
22543
  */
22544
- get elem_value(): this["elem_type"] extends "signal"
22545
- ? SignalID | nil
22546
- : this["elem_type"] extends "with-quality"
22547
- ? PrototypeWithQualityRead | nil
22548
- : string | nil
22549
- set elem_value(
22550
- value: this["elem_type"] extends "signal"
22551
- ? SignalIDWrite | nil
22552
- : this["elem_type"] extends "with-quality"
22553
- ? PrototypeWithQuality | nil
22554
- : string | nil,
22555
- )
22544
+ get elem_value(): string | SignalID | PrototypeWithQualityRead | nil
22545
+ set elem_value(value: string | SignalIDWrite | PrototypeWithQuality | nil)
22556
22546
  /**
22557
22547
  * The elem filters of this choose-elem-button, if any. The compatible type of filter is determined by `elem_type`.
22558
22548
  *