Well, the Github issue is interesting, but I cannot find how to improve my template there. My template works, but is not well designed, I mean, is ugly.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am a TypeScript amateur and don't use VSCode, but this might be of interest to you: https://github.com/espruino/BangleApps/issues/998