Skip to content

Typescript declarations for the factorio mod API

License

Notifications You must be signed in to change notification settings

alterae/factorio-types

 
 

Repository files navigation

factorio-types

Typescript declarations for the factorio mod API. Note this library is not particularly "battle-hardened" by real use, but is here for anyone that may get value from it.

Install factorio-types from npm, but note the warning above about minimal testing.

Intended to be used with Typescript to Lua. 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

A very minimal proof-of-concept showing basic toolchain setup can be found Here

About

Typescript declarations for the factorio mod API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%