Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.