TypeScript

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

22 Mentors

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

7,682 Students

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

87 Exercises

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

About TypeScript

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

export default HelloWorld

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

A tremendous learning opportunity to explore the depth of your own knowledge

Exercism is fantastic in learning new languages but that is not the extent of it. If you are a "more experienced" programmer you may have encountered impostor syndrome: the idea you don't really know what you think you know. Exercism lets you solve problems and put them in the space of open feedback which is a tremendous learning opportunity to explore the depth of your own knowledge. Even if you have been programming in a language for awhile it is worth checking into Exercism to see where you stand with current implementation practices.

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.

Avatar of Vitor Fernandes

Vitor Fernandes https://github.com/vmlf01

I'm a fullstack developer working mostly with Node and Angular. I've been tracking TypeScript evolution since version 1.8 and I've used C# for most of my career, so I'm no stranger to types!
Avatar of Christoph Lipp

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.
Avatar of Archana Sriram

Archana Sriram https://github.com/archanid

JavaScript and Node.js are my top programming languages. I can't imagine writing them without TypeScript. I'm a professional software engineer with over two decades of work experience. I love to teach and mentor.
Avatar of Steve Jung

Steve Jung https://github.com/steve-lemon

Professional in Javascript for decode, and adaptive to TypeScript during recent 3 years
Avatar of Brenton Alker

Brenton Alker https://github.com/tekerson

As a believer in the communicative power of type systems, I think TypeScript has an opportunity to bring lessons learned in other communities to the world of front-end web development.
Avatar of Filip Gulan

Filip Gulan GitHub

I am Frontend engineer in the telecommunication company. I work with Angular and Typescript on daily basis. I love to learn and also teach.
Fun. Challenging. Interesting

Community-sourced TypeScript exercises

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

Space Age
easy
classes
floating point numbers
Allergies
medium
arrays
bitwise operations
control flow conditionals
control flow loops
Matrix
medium
arrays
control flow conditionals
control flow loops
data structures
matrices
text formatting
Grains
medium
control flow conditionals
control flow loops
integers
Flatten Array
medium
arrays
lists
loops
recursion
Wordy
medium
control flow conditionals
control flow loops
exception handling
parsing
pattern recognition
regular expressions
strings
Passionate. Knowledgeable. Creative.

Meet the TypeScript Track maintainers

The TypeScript Maintainers are the brains behind the TypeScript Track. They spend their spare time creating interesting and challenging exercises that we can all learn from. We are incredibly grateful for their hard work. Here are the bios of a few of the maintainers of this track.

Avatar of Dave Sudia

Dave Sudia

I'm a career-changer from education, and I used Exercism to reinforce my skills as I made the switch. I love TypeScript for the flexibility of JS with the consistency of strongly typed languages. Maintaining the TS track has grown my appreciation for the language.
Avatar of Cristian Rivas Gómez

Cristian Rivas Gómez

I am a Software Engineering student from San Sebastian. I enjoy a lot reading about topics related to Java, software maintainability and web technologies. My love for TypeScript began developing web apps with Angular framework.
Avatar of Derk-Jan Karrenbeld

Derk-Jan Karrenbeld My website

All-round programmer, manager and owner of a Dutch software agency specializing in bespoke and tailored code.

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

Join the TypeScript Track