Closed pirak closed 1 year ago
Thanks. I use the class form. Then the explicit annotation of the return type of getDefaultParameters()
and getScriptManifest()
threw either Typescript and/or linter errors (I don’t remember now) as they are not exported from here and therefore cannot be imported.
Maybe there would have been another solution for that? I’m not that familiar with JS/TS.
The additional types are needed when implementing custom scripts as a class that implements
Firebot.CustomScript
.