<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/typescripttv/best-of/2024/07" -->

---
title: Best TypeScript.TV posts — July 2024 | daily.dev
description: The most upvoted TypeScript.TV posts from July 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/typescripttv/best-of/2024/07
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/typescripttv/best-of/2024/07
og:type: website
og:site_name: daily.dev
og:title: Best TypeScript.TV posts — July 2024 | daily.dev
og:description: The most upvoted TypeScript.TV posts from July 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of TypeScript.TV — July 2024

1. 1  
[](https://daily.dev/posts/understanding-branded-types-in-typescript-npevtm4qy "Understanding Branded Types in TypeScript")  
Article  
![Avatar of typescripttv](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/57ce30b9764a474caf60a5b81549c1b3)TypeScript.TV · 2y  
Understanding Branded Types in TypeScript  
Branded types in TypeScript, also known as nominal typing, are used to create distinct types that prevent logical errors that type checks might miss. By combining a base type with a unique marker, branded types ensure type safety and avoid unintended consequences, like division by zero. Key concepts include defining branded types, using type guards, and employing assertion functions to enforce these types.  
95  
2
2. 2  
[](https://daily.dev/posts/loading-json-files-dynamically-in-typescript-8stpth6h7 "Loading JSON Files Dynamically in TypeScript")  
Article  
![Avatar of typescripttv](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/57ce30b9764a474caf60a5b81549c1b3)TypeScript.TV · 2y  
Loading JSON Files Dynamically in TypeScript  
Learn how to dynamically import JSON files in TypeScript using import attributes and dynamic imports, and discover how to use \`require\` in ECMAScript modules with Node.js. Understand the use of Import Attributes for runtime JSON import and methods to handle JSON imports within Node.js v18.  
44

[See all TypeScript.TV archives](/sources/typescripttv/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/typescripttv/best-of/2024/07#page","url":"https://daily.dev/sources/typescripttv/best-of/2024/07","name":"Best TypeScript.TV Posts — July 2024","description":"The most upvoted TypeScript.TV posts from July 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/typescripttv/best-of/2024/07#items","numberOfItems":2,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/understanding-branded-types-in-typescript-npevtm4qy","name":"Understanding Branded Types in TypeScript"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/loading-json-files-dynamically-in-typescript-8stpth6h7","name":"Loading JSON Files Dynamically in TypeScript"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"TypeScript.TV","item":"https://daily.dev/sources/typescripttv"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/typescripttv/best-of"},{"@type":"ListItem","position":5,"name":"July 2024"}]}]}
```

