---
title: "Discussion on \"Why do we need TypeScript?\" | Hashnode"
description: "Discussion on \"Why do we need TypeScript?\". Great Question !! But Why exactly do we need typescript? Let's look into a few things that JavaScript lacks.\nJavascript as a whole works just fine. But it lacks when it comes to type safety. Let's look into one example:\nconst takeStrings=(a,b)=>{\n   ..."
url: "https://hashnode.com/posts/why-do-we-need-typescript/6526d342d0627961bc70018e"
---

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

Discussion

# [Why do we need TypeScript?](https://rohankn.hashnode.dev/why-do-we-need-typescript?utm_source=hashnode&utm_medium=feed)

Great Question !! But Why exactly do we need typescript? Let's look into a few things that JavaScript lacks. Javascript as a whole works just fine. But it lacks when it comes to type safety. Let's look into one example: const takeStrings=(a,b)=>{ ...

Oct 11, 2023 · 2 min read · rohankn.hashnode.dev  
Read the article

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

## Written by

[Rohan](https://hashnode.com/@Rohankn)

@Rohankn · Sivasagar,India

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

Full Stack Developer with an interest in cognition and human computer interaction

I am a developer from a small village in North-East India. I am passionate about technology and have a very keen interest in cognition and human-computer interaction. Besides technologies, I love to read, play a lot of sports and am very passionate about offroading.

## Responses 1

Markdown supported · ⌘↵ to post

[Programmer Dixit](https://hashnode.com/@kargilDixit32)

[Oct 31, 2023](https://hashnode.com/posts/why-do-we-need-typescript/6526d342d0627961bc70018e/comment/6540aa489ba50faa87402f9a)

Great!
