TypeScript Development Setup

The Enact CLI provides a template (@enact/template-typescript) that enables developers to quickly get started using TypeScript with Enact.


  • Complete the Hello Enact tutorial so you are ready to dive into the code
  • Understand the Enact app structure, directory structure and package.json setup
  • Have a ready-to-learn attitude (most important!)

Installing the TypeScript Template

Note: Before you begin this tutorial, make sure you have installed the Enact CLI tool. See Enact Development Setup for more information.

  • Install the TypeScript template
enact template install @enact/template-typescript
  • Create a new app from the template
enact create MyApp -t typescript

Next: TypeScript Overview