typed-factorio 0.19.1 → 0.20.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2478,7 +2478,7 @@ type TechnologyIdentification = string | LuaTechnology | LuaTechnologyPrototype
2478
2478
  *
2479
2479
  * {@link https://lua-api.factorio.com/latest/Concepts.html#SurfaceIdentification View documentation}
2480
2480
  */
2481
- type SurfaceIdentification = uint | string | LuaSurface
2481
+ type SurfaceIdentification = SurfaceIndex | string | LuaSurface
2482
2482
 
2483
2483
  /**
2484
2484
  * - uint: The player index.
@@ -2489,7 +2489,7 @@ type SurfaceIdentification = uint | string | LuaSurface
2489
2489
  *
2490
2490
  * {@link https://lua-api.factorio.com/latest/Concepts.html#PlayerIdentification View documentation}
2491
2491
  */
2492
- type PlayerIdentification = uint | string | LuaPlayer
2492
+ type PlayerIdentification = PlayerIndex | string | LuaPlayer
2493
2493
 
2494
2494
  type ItemStackIdentification = SimpleItemStack | LuaItemStack
2495
2495
 
@@ -3334,7 +3334,7 @@ interface CustomCommandData {
3334
3334
  /**
3335
3335
  * The player who issued the command, or `nil` if it was issued from the server console.
3336
3336
  */
3337
- readonly player_index?: uint
3337
+ readonly player_index?: PlayerIndex
3338
3338
  /**
3339
3339
  * The parameter passed after the command, if there is one.
3340
3340
  */