There’s not currently a Typescript package for Visual Studio Code but it sounds like a fun idea. Would you then write the script in Typescript, compile it to JS and run that in Scriptable? Or can a Typescript package work in Visual Studio Code when writing plain JS and not actually Typescript?
I have a file containing all type information for the auto completion. It’s structured to be read by Tern code analysis engine but it might very well be easier to parse than the online documentation. I might be able to share it or parts of it.
On the other hand, if you make something that parses the online documentation, you can quickly update your package when new APIs are added