TypeScript

Join the TypeScript Track
TypeScript is a language for writing more maintainable JavaScript. TypeScript adds optional types, classes, and modules to JavaScript.

5 Mentors

Our mentors are friendly, experienced TypeScript developers who will help teach you new techniques and tricks.

759 Students

Join hundreds of students who have enjoyed learning and improving their skills by taking this track.

86 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About TypeScript

TypeScript (TS) is a superset of JavaScript (JS), created at Microsoft in response to frustration developing large-scale applictions in JS. In a large JS project, knowing what properties your own objects have, what arguments your functions take (and what type they need to be) can become difficult. Similarly, since there is no ability to intelligently inspect JS code, when you include a package (like from npm), you have to keep the documentation up so you know what methods are available and what arguments they take. TS solves these issues. It is currently an open-source project hosted on Github. It supports tools for any browser as well as Node, for any host, on any OS. TTS compiles to readable, standards-based JavaScript.

TS adds a flexible type system to JS, in addition to interfaces (custom types) and modifying the syntax of some ECMAScript features such as classes. Types are optional and flexible (for example, you can specify an argument is a string OR a number). Types allow tooling available in most code editors that improve the development experience such as code completion and method detection, both in your own code and in packages you use. It supports many upcoming ECMASCript features (such as async/await). TS can be written in OO or functional styles. It is compatible with all existing JS packages. TS transpiles to clean, readable JS.

Try it out at the playground, and stay up to date via the Typescript blog and Twitter account.

Join the TypeScript track
class HelloWorld {
  static hello(name = 'World') {
        return `Hello, ${name}!`
    }
}

export default HelloWorld

Exercism is a great website

Exercism is a great website where I was able to have some very interesting challenges.

Relaxed. Encouraging. Supportive.

Meet the TypeScript Track Mentors

Once you join the TypeScript language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

David Jones Website

Software engineer and a fan of many programming languages

Christoph Lipp https://github.com/ser1us

I mainly use Typescript at work and I really appreciate the type safety it provides. Combine it with the awesome Visual Studio Code and you're in for a treat. Another well done language by Microsoft.

Nadeem Shabir https://github.com/kiyanwang

Polyglot developer, loves programming, constantly learning!

Diego Colombo https://github.com/colombod

Using typescript professionally on projects, I love to network and help

Randall Koutnik blog

Level 13 JavaScript Wizard
Fun. Challenging. Interesting

Community-sourced TypeScript Exercises

These are a few of the 86 exercises on the TypeScript track. You can see all the exercises here.

Pascals Triangle
medium
medium
control flow conditionals
control flow loops
mathematics
Rna Transcription
medium
easy
strings
transforming
Bob
medium
easy
control flow conditionals
pattern recognition
polymorphism
regular expressions
strings
unicode
Reverse String
medium
easy
for
loops
strings
Run Length Encoding
medium
easy
control flow conditionals
exception handling
parsing
pattern recognition
regular expressions
strings
text formatting
Gigasecond
medium
easy
time

Get started with the TypeScript track. As with everything on Exercism, it's 100% free!

Join the TypeScript Track