Skip to main content

Modifiers of the Types

A Learning TypeScript > Type Modifiers 🥗 appetizer project.

Greetings, my fearless friend! My companions and I are a group of powerful beings tasked with safeguarding the safety of this realm and many others. Using the power revealed to by Castle TypeScript, we have seen the plots of my evil nemesis, Skeletype! Together we defend the universe and must stop those plots from becoming a reality!

We must gather our friends and gain understanding of our enemy. These small projects will help us learn the lay of the land and gain the upper hand in the inevitable battle. Please, join us!

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/type-modifiers/modifiers-of-the-types

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.