Teal type definitions for the LÖVE APIs used by Tecs2D.
Install a tagged release with LuaRocks:
luarocks install tecs-love2d-tl-typeThe rock installs love2d.d.tl on the Lua module path. Use it as the global
environment in tlconfig.lua:
return {
global_env_def = "love2d",
}Validate and install the current checkout into a temporary tree:
luarocks --lua-version=5.1 lint tecs-love2d-tl-type-dev-1.rockspec
luarocks --lua-version=5.1 make --tree=.luarocks tecs-love2d-tl-type-dev-1.rockspecPushing a tag such as v0.1.0 publishes release 0.1.0-1 to LuaRocks.
MIT. See LICENSE and the attribution in love2d.d.tl.