A fork of TypeScriptToLua (TSTL) that replaces the TypeScript dependency with typescript-t for compatibility with ttypescript. It transpiles TypeScript code into Lua, supporting the full TypeScript type system and emitting idiomatic Lua output. This version is based on TSTL v0.20.0. It is not actively maintained by the original authors and is intended for projects using ttypescript. Key differentiators: custom TypeScript compiler fork integration, same API as TSTL.
npm install typescript-to-lua-tNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transpile a simple TypeScript variable declaration to Lua using the fork.
Install typescript-t and remove typescript: npm install typescript-t && npm uninstall typescript
Replace 'typescript-to-lua' with 'typescript-to-lua-t' in imports.
Refer to TSTL v0.20.0 documentation for API specifics.
Install and import from 'typescript-to-lua-t'.
Run: npm install typescript-t