mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Add doc section on Typescript
This commit is contained in:
parent
6e8af794fc
commit
42e0be2b86
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
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
|
## API
|
||||||
|
|
||||||
The following parts of the Lua standard library are loaded:
|
The following parts of the Lua standard library are loaded:
|
||||||
|
|
Loading…
Reference in a new issue