Skip to content

typescript-exercises/typescript-exercises

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
August 13, 2020 22:41
src
December 6, 2021 15:56
July 8, 2021 14:14
March 15, 2021 11:29
February 27, 2021 20:51
July 8, 2021 14:14
July 8, 2021 14:14
December 4, 2021 17:06

TypeScript exercises

Start your journey here: https://typescript-exercises.github.io/

The goal: Let everyone play with many different TypeScript features and get an overview of TypeScript capabilities and principles.

Things to cover

  1. Basic typing.
  2. Refining types.
  3. Union types.
  4. Merged types.
  5. Generics.
  6. Type declarations.
  7. Module augmentation.
  8. Advanced type mapping.

Rules and principles

  1. Avoid using any type at all cost.

  2. Difficulty quickly grows one exercise after another.

  3. Feel free to send pull-requests if you've come up with improvements!

  4. Provide feedback to the creator of these exercises.

  5. Enjoy.

Contributing

  1. Your contributions are welcome.

  2. yarn start starts the development server.

About

A set of interactive TypeScript exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages