Emmyfall is a Deno script that generates EmmyLua (and sumneko-lua) annotations for the Starfall API.
Currently Emmyfall generates annotations for all classes and libraries. Hooks are skipped for now. Callbacks are also not typed.
Emmyfall has a Visual Studio Code extension developed by Zubbbz. Using it will automatically give your Starfall projects the typings by using automated generations from this repository.
You need to install Deno prior to building the annotations yourself. Once you have deno, run this deno command in your CLI:
deno run --allow-write --allow-read --allow-net main.ts
The deno script will output emmyfall.lua
in the output. You can then use this file however you want.
You can copy it into your starfall/
folder and open it as a workspace, or you can put it somewhere static on your disk and provide a path to sumneko lua to use it.