Skip to main content

Typespeare

A Learning TypeScript > Syntax Extensions 🥗 appetizer project.

Salute, dear reader, thou TypeScript guru!

In these texts your syntax lesson contained.

Press thee inward for your lesson further,

That your latest TypeScript knowledge be strained.

Setup

If you haven't yet, set up the github.com/LearningTypeScript/projects repository locally.

git clone https://github.com/LearningTypeScript/projects learning-typescript-projects
cd learning-typescript-projects
npm i

Change your terminal directory to this project's:

cd projects/syntax-extensions/typespeare

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

Steps

Notes

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