Skip to content
Exercises for the TypeScript training session #1
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
src
test
.gitignore
.prettierrc
README.md
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

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.

You can’t perform that action at this time.