---
title: "Discussion on \"SuperType and Subtype in ts\" | Hashnode"
description: "Discussion on \"SuperType and Subtype in ts\". Key players to understand are:- Unkown type- Never type- Parameter assignability behaviour- Return Type Assignability behaviour- Contravariant- Covariant\n\nFirst we need to understand what do we mean by SuperType and SubType in general:- SuperType bas..."
url: "https://hashnode.com/posts/supertype-and-subtype-in-ts/695f5a9b03ed2eb915feef25"
---

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

Discussion

# [SuperType and Subtype in ts](https://tslearnings.hashnode.dev/supertype-and-subtype-in-ts?utm_source=hashnode&utm_medium=feed)

Key players to understand are:- Unkown type- Never type- Parameter assignability behaviour- Return Type Assignability behaviour- Contravariant- Covariant First we need to understand what do we mean by SuperType and SubType in general:- SuperType bas...

Jan 8 · 3 min read · tslearnings.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#covariance](https://hashnode.com/tag/covariance)
-   [#contravariant](https://hashnode.com/tag/contravariant)

## Written by

[Md Affan Aslam](https://hashnode.com/@affan24)

@affan24

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
