---
title: "Discussion on \"What are Generics in Typescript?\" | Hashnode"
description: "Discussion on \"What are Generics in Typescript?\". Introduction\nOver the course of the last few years, Typescript has emerged as the de-facto standard for writing type-safe Javascript code. This added type-safety gives developers confidence in their code and helps them catch errors even before the co..."
url: "https://hashnode.com/posts/what-are-generics-in-typescript/62e63ec1430bd1d04a843491"
---

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

Discussion

# [What are Generics in Typescript?](https://harshitjain.hashnode.dev/what-are-generics-in-typescript?utm_source=hashnode&utm_medium=feed)

Introduction Over the course of the last few years, Typescript has emerged as the de-facto standard for writing type-safe Javascript code. This added type-safety gives developers confidence in their code and helps them catch errors even before the co...

Jul 31, 2022 · 5 min read · harshitjain.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)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Harshit Jain](https://hashnode.com/@harshitjain)

@harshitjain · Noida, India

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

Frontend @ Intuit | Ex MakeMyTrip, SAP | Javascript| Typescript | React | React Native | UI

I am a Frontend Engineer, based out of India, with 7+ years of building scalable web applications. I am passionate about clean code, design patterns, developer productivity and User Experience

## Responses 1

Markdown supported · ⌘↵ to post

[Mahendra Chauhan](https://hashnode.com/@mahendrachauhan)

[Jul 31, 2022](https://hashnode.com/posts/what-are-generics-in-typescript/62e63ec1430bd1d04a843491/comment/62e65d3b053e6bd578426770)

Got to learned about interface and generics through your examples. Well explained!
