Skip to main content

The Typeinator

A Learning TypeScript > From JavaScript to TypeScript 🥗 appetizer project. You'll practice converting legacy JavaScript code to use newer ECMAScript syntax features.

Zap! Hiss... Bang!

A bolt of lightning strikes through the cloudless night. Whisks of smoke swirl around your feet, stepping out of the time travel orb onto the streets of Los Angeles. The year is 2004 and your mission is to prepare several JavaScript projects for the future of ECMAScript syntax features.

You are the Typeinator. 🤖


If you haven't yet, set up the repository locally.

git clone learning-typescript-projects
cd learning-typescript-projects
npm i

Change your terminal directory to this project's:

cd projects/from-javascript-to-typescript/the-typeinator

In one terminal, start the TypeScript compiler in watch mode:

tsc --watch

In another terminal, run Jest on whichever step you're working on. For example, to run tests for the first step in watch mode:

npm test -- 1 --watch



  • Don't import code from one step into another.