Skip to content

typescript-ohjelmointi/type-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Type exercises

This repository contains type exercises for the TypeScript course at https://typescript-ohjelmointi.github.io/ (in Finnish).

Each subfolder in src contains a markdown file with an example usage of a specific TypeScript feature, and a TypeScript file, where you need to complete an exercise. Follow the instructions marked in the comments in the .ts files.

Note that in most exercises, the code may not "do" anything when executed. Instead, we will focus more on defining the correct types that are used in compilation phase.

To get your own copy of this exercise repository, either clone it with the Git tool or download it as a zip archive.

Project initialization

The project has been initialized with the following commands:

npm install -D typescript
npx tsc --init

To start working on the project, run the npm install command:

npm install

Recommended reading

Credits

The exercises and examples are created by @koodiohto.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •