I have created a TypeScript type definition package for CococaScript.
If you are also developing Sketch plugins with TypeScript, feel free to try this package.
Here is the repo https://github.com/sketch-community/cocoascript-types
Oo cool! Thanks!
Oh, It was a huge job, thank you!
I did some work related to that as well: https://github.com/sketch-hq/SketchAPI/tree/typescript/types/sketch-internals__generated
with a script to generate them from the frameworks: https://github.com/sketch-hq/SketchAPI/tree/typescript/scripts/typescript-generation