I don’t have a fancy iPad with a fancy keyboard, and I can’t imagine being productive coding on my iPhone, so I’d like to write the bulk of my code on my laptop in an IDE such as PyCharm or Webstorm, VS Code, Atom, Vim, or anything really (but in that order of preference).
The only problem is is that it the IDE will complain quite a lot. I totally understand why it would complain about things that are purely Scriptable constructs, and for those I was wondering if there were some kind of stub or header file(s) I could use to teach my IDE the proper interfaces so he doesn’t complain.
Request.headers but the other version wants me to pass them into the constructor. Could someone kindly explain why these are different? The Scriptable documentation says it is using “ECMAScript 6” and as far as I can tell the one on the Mozilla page is also ECMAScript 6.
Thanks in advance.