---
title: "Comment by James 'Dante' Midzi on \"Object destructuring in TypeScript\" | Hashnode"
description: "I spent a good 3 hours trying to figure out why my site wasn&#39;t deploying. I thought of Typescript during that time, and even more when I found out what the"
url: "https://hashnode.com/posts/object-destructuring-in-typescript/6215ced02c936b90065dc859/comment/621679cc3b11209c8fb4c032"
---

[Discussion](https://hashnode.com/posts/object-destructuring-in-typescript/6215ced02c936b90065dc859)

Comment [Object destructuring in TypeScript](https://hashnode.com/posts/object-destructuring-in-typescript/6215ced02c936b90065dc859)

[James 'Dante' Midzi](https://hashnode.com/@Psypher1)

[Feb 23, 2022](https://hashnode.com/posts/object-destructuring-in-typescript/6215ced02c936b90065dc859/comment/621679cc3b11209c8fb4c032)

I spent a good 3 hours trying to figure out why my site wasn't deploying.

I thought of Typescript during that time, and even more when I found out what the issue was

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Feb 24, 2022](https://hashnode.com/posts/object-destructuring-in-typescript/6215ced02c936b90065dc859/comment/621679cc3b11209c8fb4c032#reply-621732c03b11209c8fb4ce7d)

Was it something that TypeScript would have caught? It can really help showing errors early on.

[James 'Dante' Midzi](https://hashnode.com/@Psypher1)

[Feb 24, 2022](https://hashnode.com/posts/object-destructuring-in-typescript/6215ced02c936b90065dc859/comment/621679cc3b11209c8fb4c032#reply-621766523b11209c8fb4d441)

Yes it was. The moment didit3,Typescript would havewarmedme. I had some values missing from a function but it was working
