Setup & Installation
Clone this repository and run npm install
. You're good to go!
- Each directory in
src
represents 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
XYZ
can 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-up
npm run test:media
npm run test:shortcuts
npm run test:this-or-that
npm run test:only-one
npm run test:new-skills
npm run test:constraints
npm 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 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!