Generate externals documentation
extern.json records the Lua-visible externs declared in TypeScript.
Regenerate
From the engine repository:
npm run cli -- build --include externs
This writes:
src/engine/declarations/extern.json
target/gamedata/extern.json
Check
npm run cli -- verify externs
The check compares the tracked JSON with current declarations and does not write files.
For optional HTML or XML references, use Extern exports.