Awesome
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.
Sponsor me: https://github.com/sponsors/mdevils
Things to cover
- Basic typing.
- Refining types.
- Union types.
- Merged types.
- Generics.
- Type declarations.
- Module augmentation.
- Advanced type mapping.
Rules and principles
-
Avoid using
any
type at all costs. -
Difficulty quickly grows one exercise after another.
-
Feel free to send pull requests if you've come up with improvements!
-
Provide feedback to the creator of these exercises.
-
Enjoy.
Contributing
-
Your contributions are welcome.
-
yarn start
starts the development server.