---
title: "Discussion on \"Difference between an undefined value and a missing property in TypeScript\" | Hashnode"
description: "Discussion on \"Difference between an undefined value and a missing property in TypeScript\". There is one serious issue with the default behavior of the typescript compiler w.r.t optional types.\nTo properly understand the difference between an undefined value and a missing property, let's take an example -\nLet's say we have the following Pro..."
url: "https://hashnode.com/posts/difference-between-an-undefined-value-and-a-missing-property-in-typescript/63d821ec3c90e8aceffd8778"
---

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

Discussion

# [Difference between an undefined value and a missing property in TypeScript](https://anmol-kansal.hashnode.dev/difference-between-an-undefined-value-and-a-missing-property-in-typescript?utm_source=hashnode&utm_medium=feed)

There is one serious issue with the default behavior of the typescript compiler w.r.t optional types. To properly understand the difference between an undefined value and a missing property, let's take an example - Let's say we have the following Pro...

Jan 30, 2023 · 2 min read · anmol-kansal.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#ts](https://hashnode.com/tag/ts)
-   [#typescript-tutorial](https://hashnode.com/tag/typescript-tutorial)
-   [#advance-typescript](https://hashnode.com/tag/advance-typescript)

## Written by

[Anmol Kansal](https://hashnode.com/@kansalanmol0609)

@kansalanmol0609 · Gurgaon, India

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

Full Stack Developer

Web Development allows me to bring my ideas to life. Passionate about Web Development and Proficient in Data Structures and Algorithms, I like to solve challenging problems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
