DEV Community

loading...

With Google Apps Script going to V8, whither ts2gas?

Bruce Axtens
Programmed Canon Canola calculators in 1977. Assorted platforms and languages ever since. Assisting with HOPL.info. I am NOT looking for work -- I've got more than enough to do.
・1 min read

Maybe I missed something (very likely I missed something!) but I was wondering, now that Google Apps is V8-based, where does that put Typescript and, particularly, ts2gas?

ts2gas is part of the workflow for me building things in Google Sheets. I have a project in VSCode with a pile of .gs file and every so often I enter the command clasp push which uses the clasp tool to push my code up to the server for use in a Sheets project.

Up until now I've been having the Typescript/ts2gas workflow convert the code to something the legacy, pre-V8, engine could evaluate. Now that V8's in the picture I can, supposedly, upload a more modern dialect.

How do I make that happen? Am I still using ts2gas? What do I need to change in my tsconfig.json file (if anything)?

Discussion (1)