1
Watch
0
Star
0
Fork
0
Issue

Exercises for the TypeScript training session #1

cuongtran8
cuongtran8
pushedAt 2 years ago

cuongtran8/typescript-training-e1

TypeScript session one exercises

Working with the exercises

The exercises are supplied as function stubs in src/session_one.ts which you are expected to fill in.

The function stubs are accompanied by tests in test/session_one.tests.ts. When a test set for a given function passes, an exercise has been completed.

Running the tests

npm install
npm run watch

Working with the exercises

Open the src/session_one.ts in an editor with TypeScript support (a recent version of VS Code is highly recommended), fill in the behavior to the function stubs and run the test set.

As long as there are failing tests, just keep repeating the process. Enjoy!

Problems?

Please report the issues to the issue tracker.

ucloud ads