Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lnzhangsong/type-challenges

Repository files navigation

Collection of TypeScript type challenges


English | Jian Ti Zhong Wen | Ri Ben Yu | hangugeo

Intro

by the power of TypeScript's well-known Turing Completed type system

High-quality types can help improve projects' maintainability while avoiding potential bugs.

There are a bunch of awesome type utility libraries that may boost your works on types, like ts-toolbelt, utility-types, SimplyTyped, etc., which you can already use.

This project is aimed at helping you better understand how the type system works, writing your own utilities, or just having fun with the challenges. We are also trying to form a community where you can ask questions and get answers you have faced in the real world - they may become part of the challenges!

Challenges

Click the following badges to see details of the challenges.















By Tags

By Plain Text

warm-up (1)

easy (13)

medium (72)

hard (40)

extreme (14)


Upcoming challenges

Start the challenge in TypeScript Playground

Start the challenge in VS Code

Recommended Readings

Official

Articles

Talks

Projects / Solutions

Books

TODO

How to Contribute

There are several ways you can contribute to this project

  • Share your answers / solutions
  • Propose new challenges
  • Add more test cases to the existing challenges
  • Provide learning resources or ideas of how to solve challenges
  • Share the problems you have faced in real-world projects, regardless you having the solution or not - the community would help you as well
  • Help with others by discussion in issues
  • Contribute the infra of this project TODOs.md

Just open an issue and choose the corresponding template. Thanks!

Thanks

This project was born from solving real-world types problem with @hardfist and @MeCKodo. And great thanks to @sinoon who contributed a lot while giving early feedback on this project.

Inspired by

License

MIT

About

Collection of TypeScript type challenges with online judge

Resources

Readme

License

MIT license

Code of conduct

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • TypeScript 97.4%
  • HTML 1.6%
  • Other 1.0%