This project's goal is to provide TypeScript definitions to use with the TypeScriptToLua transpiler to build LÖVE 2D projects.
Definitions for LuaJIT are defined over at lua-types.
These definitions are obtained from the official wiki and/or the love-api.
It is expected that these definitions will change a lot, be sure to use npm
or another package management system to install these definitions to lock the version of these definitions your project requires.
- To work with lua-types, TypeScriptToLua and LÖVE 2D.
- To not make the LÖVE 2D wiki an irrelevant source of information.
- To enhance the typings in a way that makes sense for LÖVE 2D.
- To not bog down the users with too much info (give them a
@link
to that instead).
master # Definitions for the latest version of LÖVE
support/11.1 # Definitions for LÖVE 11.1
Each branch is intended to work with the latest version of TypeScriptToLua.
More support branches can be added on request.
Issues are welcome!
- Requests
- Corrections
- Information on the wiki has changed
- Troubleshooting
- Issues
- ...
Make sure not to post duplicate issues or issues that wouldn't be handled by this project.
- Make sure to use
npm run test
to ensure your code passes the checks - Make sure to choose the relevant branch