Add doc section on Typescript

This commit is contained in:
Mm2PL 2023-02-28 23:52:44 +01:00
parent 6e8af794fc
commit 42e0be2b86
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -41,6 +41,13 @@ Example file:
An example plugin is available at [https://github.com/Mm2PL/Chatterino-test-plugin](https://github.com/Mm2PL/Chatterino-test-plugin)
## Plugins with Typescript
If you prefer, you may use [TypescriptToLua](https://typescripttolua.github.io)
to typecheck your plugins. There is a `chatterino.d.ts` file describing the API
in this directory. However this has several drawbacks like harder debugging at
runtime.
## API
The following parts of the Lua standard library are loaded: