---
title: "Discussion on \"Understanding the TypeScript `infer` keyword\" | Hashnode"
description: "Discussion on \"Understanding the TypeScript `infer` keyword\". In TypeScript, there are some types that are composed of multiple other types. We can refer to them as compound types. A promise for example, is a compound type because it’s composed of two types. The first being the Promise itself, and the second be..."
url: "https://hashnode.com/posts/understanding-the-typescript-infer-keyword/63617860e966bc9a761faa6d"
---

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

Discussion

# [Understanding the TypeScript \`infer\` keyword](https://ifeanyiisitor.hashnode.dev/understanding-the-typescript-infer-keyword?utm_source=hashnode&utm_medium=feed)

In TypeScript, there are some types that are composed of multiple other types. We can refer to them as compound types. A promise for example, is a compound type because it’s composed of two types. The first being the Promise itself, and the second be...

Nov 1, 2022 · 7 min read · ifeanyiisitor.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#type-inference](https://hashnode.com/tag/type-inference)

## Written by

[Ifeanyi Isitor](https://hashnode.com/@ifyio)

@ifyio · England

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

Software Engineer

I'm a software engineer specialising in React, TypeScript, Testing, Accessibility and more...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
