This commit is contained in:
Simon Cambier 2026-01-17 10:48:48 +01:00
parent 431498fffa
commit 568a6fc49a

View File

@ -8,6 +8,11 @@ Most of the _G.d.ts file has been AI-generated from the official documentation,
> TypeScript code converted to Lua code is not guaranteed to be correct or efficient.
> Read the [TypeScriptToLua documentation](https://typescripttolua.github.io/docs/getting-started), follow best practices, and review the generated Lua code.
> [!TIP]
> Several Picotron idiomatic functions can (and should) be used instead of their TypeScript counterparts.
> e.g. use `error()` instead of `throw new Error()`, or `deli()` instead of `array.splice()` to delete single items.
> This will improve the performance and reduce the size of the generated Lua code.
## Setup
### Requirements