TypeScript is an actively used programming language created in 2012.

7Years Old 17,995Users 974Jobs

Example code from the Hello World Collection:

// Hello world in TypeScript

alert('Hello world!');

Example code from Linguist:

console.log("Hello, World!");

Example code from Wikipedia:

class Person {
    private name: string;
    private age: number;
    private salary: number;

    constructor(name: string, age: number, salary: number) {
        this.name = name;
        this.age = age;
        this.salary = salary;

    toString(): string {
        return `${this.name} (${this.age}) (${this.salary})`; // As of version 1.4

Last updated February 11th, 2019