Opanuj TypeScript z Przeprogramowanymi
November 24, 2024 ยท View on GitHub

A set of challenges that help you understand TypeScript ๐
Setup & Installation
Clone this repository and run npm install. You're good to go!
๐ How to
- Each directory in
srcrepresents a challenge related to a specific feature of TypeScript. - In each challenge your solution have to pass two kinds of tests - TypeScript compilation and unit tests
- Challenge of name
XYZcan be verified by runningnpm run test:XYZ, for example:npm run test:warm-up
Note: To pass the challenge, make sure you only modify TypeScript files. Tests should remain unchanged.
๐ ๏ธ Test commands for challenges
Discover all the challenges by running npm run in your console. Here's the list of available commands:
npm run test:warm-upnpm run test:medianpm run test:shortcutsnpm run test:this-or-thatnpm run test:only-onenpm run test:new-skillsnpm run test:constraintsnpm run test:type-operator
๐ช Advanced challenge
If you're looking for a "final boss", we've something that will let you practice advanced TypeScript inside a React app. More details are available in the src/advanced-filtering/README.md. Enjoy!
๐ Contributors welcomed!
If you want to contribute to this project, feel free to create a pull request. We're open to new challenges, suggestions and improvements! Happy to feature your name in the contributors list ๐
When creating a new challenge, make sure you update the following parts of the project:
src- add a new directory with the challenge and testspackage.json- add a new test commandREADME.md- add a new section with a description of the challenge
๐ Help me, I'm stuck!
Find all the answers in TypeScript Documentation
Contributors โจ
Thanks goes to these wonderful people (emoji key):
PatrykPytlarczyk ๐ป |
raqso ๐ป |
This project follows the all-contributors specification. Contributions of any kind welcome!