Today we're starting up our second year of
Type | Treat (or "Type or Treat".) We will be presenting some "spooky" code challenges that will allow you to dig deeper into the TypeScript language in a fun way.
Starting right now, a new code challenge will be posted every weekday, along with its solution the day after. The last solution will be posted on the weekend.
In order to participate you only need to be able to access the TypeScript website. Though ideally, you share with us your answers via our dev.to blog post mirrors, here, or via Twitter to @TypeScript.
You will want to start here on the blog to find the details on the code challenges for the day. Each post contains 2 links to different challenges which run in the TypeScript playground. Via the playground, you can work on the challenge in your browser and you will be able to test your code live to see if it properly passes the challenge.
Once you feel you have completed the challenge, you will need to select the Share button in the playground. This will automatically copy a playground URL to your clipboard.
Leave us a comment with your feedback on the dev.to post, or in this post.
If you need additional help you can utilize the following:
- The New TypeScript Handbook
- The TypeScript Community Discord
- The comments on each Dev.to post!
- Our previous
Type | Treat2020 challenges
Using the new music streaming service from the TypeScript team, Typify, set up and share your halloween playlist with your friends.
Head to this link and help us figure out the best type to use in one of our function parameters!
You've figured out your costume, but making it is a bit of a process. Can you figure out how to make all of the parts come together in a type-safe way?
Head over to start sorting.