---
title: "Discussion on \"What is Typescript?\" | Hashnode"
description: "Discussion on \"What is Typescript?\". Typescript is a popular technology that you've probably heard thrown all around the internet. It can be used in almost every major web development framework, and is the 7th most popular language on Github. But what exactly is Typescript, and why is i..."
url: "https://hashnode.com/posts/what-is-typescript/5ed3e72d123fdcb70b936548"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is Typescript?](https://cometcode.hashnode.dev/what-is-typescript?utm_source=hashnode&utm_medium=feed)

Typescript is a popular technology that you've probably heard thrown all around the internet. It can be used in almost every major web development framework, and is the 7th most popular language on Github. But what exactly is Typescript, and why is i...

May 31, 2020 · cometcode.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Caelin Sutch](https://hashnode.com/@caelinsutch)

@caelinsutch

  
[View profile](https://hashnode.com/@caelinsutch)

CTO at Bytes Robotics

## Responses 2

Markdown supported · ⌘↵ to post

[ovile wade](https://hashnode.com/@ovile9080)

[Jul 10, 2021](https://hashnode.com/posts/what-is-typescript/5ed3e72d123fdcb70b936548/comment/60e9c4bc6d962b01bdecc976)

Just look at the online this latest article online see [free vbucks codes](https://freevbucksblog.com/) and exited to share this great fun zone here.

[Purvi Barot](https://hashnode.com/@purvi)

[Jul 30, 2020](https://hashnode.com/posts/what-is-typescript/5ed3e72d123fdcb70b936548/comment/5f226f98ef20f63bcf9827d2)

-   TypeScript is a superset of JavaScript which primarily provides optional static typing, classes and interfaces. One of the big benefits is to enable IDEs to provide a richer environment for spotting common errors as you type the code.

**Why Typescript?**

-   TypeScript supports JS libraries & API Documentation
-   It is a superset of Javascript
-   It is optionally typed scripting language
-   TypeScript Code can be converted into plain JavaScript Code
-   Better code structuring and object-oriented programming techniques
-   Allows better development time tool support
-   It can extend the language beyond the standard decorators, async/await

As an example:

```
class Greeter {
    greeting: string;
    constructor (message: string) {
        this.greeting = message;
    }
    greet() {
        return "Hello, " + this.greeting;
    }
}
```
