typed-factorio 2.7.0 → 2.7.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typed-factorio",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "Featureful typescript definitions for the Factorio modding api.",
5
5
  "keywords": [
6
6
  "factorio",
@@ -845,7 +845,7 @@ declare module "factorio:runtime" {
845
845
  * @see Color
846
846
  * @see {@link https://lua-api.factorio.com/1.1.103/concepts.html#Color Online documentation}
847
847
  */
848
- export type ColorArray = readonly [r?: float, g?: float, b?: float, a?: float]
848
+ export type ColorArray = [r: double, g: double, b: double, a?: double]
849
849
  /**
850
850
  * Same as {@link Color}, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255].
851
851
  * @see ColorModifierArray
@@ -862,7 +862,7 @@ declare module "factorio:runtime" {
862
862
  * @see ColorModifier
863
863
  * @see {@link https://lua-api.factorio.com/1.1.103/concepts.html#ColorModifier Online documentation}
864
864
  */
865
- export type ColorModifierArray = readonly [r?: float, g?: float, b?: float, a?: float]
865
+ export type ColorModifierArray = [r: double, g: double, b: double, a?: double]
866
866
  export interface CraftingQueueItem {
867
867
  /**
868
868
  * The index of the item in the crafting queue.