DEV Community

Bruce Axtens
Bruce Axtens

Posted on

1

With Google Apps Script going to V8, whither ts2gas?

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)?

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay