https://github.com/typescript-exercises/typescript-exercises
A set of interactive TypeScript exercises
https://github.com/typescript-exercises/typescript-exercises
Last synced: about 1 year ago
JSON representation
A set of interactive TypeScript exercises
- Host: GitHub
- URL: https://github.com/typescript-exercises/typescript-exercises
- Owner: typescript-exercises
- License: mit
- Created: 2020-04-29T14:47:59.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T12:30:23.000Z (about 2 years ago)
- Last Synced: 2024-10-29T17:56:06.771Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://typescript-exercises.github.io
- Size: 2.18 MB
- Stars: 2,864
- Watchers: 22
- Forks: 469
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-luooooob - typescript-exercises/typescript-exercises - A set of interactive TypeScript exercises (TypeScript)
- awesome-by-example - TypeScript exercises: A set of interactive TypeScript exercises
README
# 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
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 costs.
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.