Skip to Content
defold-typescript libraries
defold (official)

defold/extension-teal

Build-time support for Teal, a typed dialect of Lua. A Bob plugin compiles and type checks .tl files during the build, and an editor script registers a Teal language server. The native part is an empty extension.

No Lua API — content, shaders, build-time tooling or engine-side native code only.

  • GitHub: defold/extension-teal — pinned to v1.5 (released while Defold 1.13.0 was current)
    1. Pick a release from defold/extension-teal releases and add its Source code (zip) URL (or a packaged .zip asset, if the library ships one) to game.project under [project] dependencies, then Fetch Libraries in the Defold editor.
    2. Use Defold 1.8.1 or later.
    3. Create a tlconfig.lua in the project root.
    4. Require .tl files from scripts and Lua modules as if they were .lua files.