---
title: "Discussion on \"Mastering TypeScript: Interfaces, Generics, Unions Explained\n\" | Hashnode"
description: "Discussion on \"Mastering TypeScript: Interfaces, Generics, Unions Explained\n\". If JavaScript works, why was TypeScript created?\nJavaScript is the undisputed language of the web, but it was originally designed to add simple interactivity to web pages—not to build massive, enterpr"
url: "https://hashnode.com/posts/mastering-typescript-interfaces-generics-unions-explained/6a9590c6fe9b44033f98832e"
---

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

Discussion

# [Mastering TypeScript: Interfaces, Generics, Unions Explained](https://harshjosolkar.hashnode.dev/mastering-typescript-interfaces-generics-unions-explained?utm_source=hashnode&utm_medium=feed)

If JavaScript works, why was TypeScript created? JavaScript is the undisputed language of the web, but it was originally designed to add simple interactivity to web pages—not to build massive, enterpr

Aug 12 · 7 min read · harshjosolkar.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#webdevcohort2026](https://hashnode.com/tag/webdevcohort2026)

## Written by

[Harsh Josolkar](https://hashnode.com/@harshjosolkar)

@harshjosolkar

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
