Setup & Installation
Clone this repository and run npm install. You're good to go!
- 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.
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
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!
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
Find all the answers in TypeScript Documentation
Thanks goes to these wonderful people (emoji key):
PatrykPytlarczyk 💻 |
raqso 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
