factorio-types 0.0.39 → 0.0.41

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/README.md CHANGED
@@ -4,10 +4,6 @@ Typescript declarations for the factorio mod API. Note this library is not parti
4
4
 
5
5
  Install `factorio-types` from [npm](https://www.npmjs.com/package/factorio-types), but note the warning above about minimal testing.
6
6
 
7
- Intended to be used with [Typescript to Lua](https://github.com/TypeScriptToLua/TypeScriptToLua).
8
-
9
- Versions up to 0.0.7 had typing parsed from [the wiki](https://wiki.factorio.com/Prototype_overview), but that page is multiple years out of date, and the type info generated from it tended to be wrong/incomplete anyways, so those types have been removed and only runtime-phase types are supported.
7
+ Intended to be used with [Typescript to Lua](https://github.com/TypeScriptToLua/TypeScriptToLua). This library uses some language extensions from the TSTL library, such as the `LuaMultiReturn` type to handle functions that return multiple values. Enable these extensions in your project's tsconfig as per [the docs](https://typescripttolua.github.io/docs/advanced/language-extensions/)
10
8
 
11
9
  A very minimal proof-of-concept showing basic toolchain setup can be found [Here](https://github.com/sguest/factorio-fire-armor-typescript)
12
-
13
- Note on versions: as of factorio version 1.1.54, the API docs have changed to version 2 with a number of changes. The last version of this package with v1 type definitions is 0.0.20