---
title: "Apps Script Engine v2.0 is Here! Your Workflow Just Got a TypeScript Power-Up 🚀"
author: "Dmitry Kostyuk"
date: 2025-09-22T07:34:14+00:00
canonical_url: https://pulse.appsscript.info/p/2025/09/apps-script-engine-v2-0-is-here-your-workflow-just-got-a-typescript-power-up-%f0%9f%9a%80/
markdown_url: https://pulse.appsscript.info/p/2025/09/apps-script-engine-v2-0-is-here-your-workflow-just-got-a-typescript-power-up-%f0%9f%9a%80.md
categories:
  - "Advanced"
  - "Community News"
  - "Library"
  - "Solutions"
  - "V8"
tags:
  - "@wildhogsm"
  - "dmitry-kostyuk"
  - "GitHub"
  - "Medium"
  - "wurkspaces.dev"
featured_image: https://pulse.appsscript.info/files/2025/09/1_aRN9slp_DzJQHfm_Y84BXg.png
description: "Google Workspace Developer Dmitry Kostyuk has announced the release of Apps Script Engine v2.0, a major update to the command-line tool that brings first-class TypeScript support to the Apps Script development workflow. This enhancement addresses a long-standing desire within the community for a more robust, type-safe coding experience, covering both server-side .gs files and client-side HtmlService code."
---

# Apps Script Engine v2.0 is Here! Your Workflow Just Got a TypeScript Power-Up 🚀

![Apps Script Engine v2.0 is Here! Your Workflow Just Got a TypeScript Power-Up 🚀](https://pulse.appsscript.info/files/2025/09/1_aRN9slp_DzJQHfm_Y84BXg.png)

 

> You heard it right. This is the update you’ve been waiting for. **Apps Script Engine now has full-blown TypeScript support!** 🤯
> We’re talking server-side `.gs` files and client-side `HtmlService` code. The whole shebang. While `clasp` has been on-again, off-again with its TypeScript support, we decided to go all in and deliver the robust, seamless experience you deserve.
> Getting started is ridiculously simple. Just tack on the `--ts` flag during installation:
> 

```
npx apps-script-engine [directory] --ts
```

**Why TypeScript is a Game-Changer for Apps Script**

For larger or more complex Apps Script projects, the introduction of TypeScript offers substantial benefits that can improve code quality and developer productivity:

- **Static Typing:** Helps catch common errors during development rather than at runtime, preventing entire classes of bugs related to data types.
- **Enhanced Autocompletion:** Provides intelligent code suggestions and autocompletion in the IDE, speeding up the development process.
- **Improved Code Readability:** Makes code easier to understand and maintain, as types explicitly define the data structures being used.

### **What’s New in Version 2.0?**

This release is packed with features that modernise the Apps Script development experience:

- **Full TypeScript Support:** Write modern, type-safe JavaScript for both frontend and backend code.
- **ES6+ Modules:** Organise your code into clean, reusable modules.
- **Frontend Frameworks:** Comes with out-of-the-box support for Alpine.js and Tailwind CSS (including Daisy UI).
- **NPM Modules:** Leverage the vast ecosystem of NPM modules in your server-side and client-side code.
- **Robust Mocking:** The mocking system for `google.script.run` has been re-engineered to allow for easy simulation of both success and failure handlers during local development.
- **Migration to Vitest:** The testing framework has been switched from Jest to Vitest, offering faster performance and a simpler configuration.
- **Gemini CLI Integration:** A new `GEMINI.md` file is included in the project template, providing the Gemini CLI with the necessary context to assist with coding and debugging tasks.
- **CI/CD and Environment Management:** The engine includes built-in support for GitHub Actions workflows and managing multiple deployment environments (DEV, UAT, PROD).

This update positions Apps Script Engine as a powerful tool for developers who want to apply modern web development practices to the Google Workspace platform.

*Source: *[*Apps Script Engine v2.0 is Here! Your Workflow Just Got a TypeScript Power-Up 🚀***](https://medium.com/itnext/apps-script-engine-v2-0-is-here-your-workflow-just-got-a-typescript-power-up-fe359bfd2b28)

---

*Published by [Dmitry Kostyuk](https://pulse.appsscript.info/p/author/dmitrykostyuk/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2025/09/apps-script-engine-v2-0-is-here-your-workflow-just-got-a-typescript-power-up-%f0%9f%9a%80/](https://pulse.appsscript.info/p/2025/09/apps-script-engine-v2-0-is-here-your-workflow-just-got-a-typescript-power-up-%f0%9f%9a%80/)*
