---
title: "Discussion on \"When TypeScript “Works” but You Still Lose Type Safety\" | Hashnode"
description: "Discussion on \"When TypeScript “Works” but You Still Lose Type Safety\". At the beginning of 2025, I ran into a “bug” (caught before PRed!) that forced me to rethink what “type safety” actually means in a dynamic code path.\nMy code was working, the data was correct, and the TS linter wasn’t yelling at me.\nThe problem was ..."
url: "https://hashnode.com/posts/when-typescript-works-but-you-still-lose-type-safety/695497e0ad294687d523653b"
---

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

Discussion

# [When TypeScript “Works” but You Still Lose Type Safety](https://offthehappypath.dev/when-typescript-works-but-you-still-lose-type-safety?utm_source=hashnode&utm_medium=feed)

At the beginning of 2025, I ran into a “bug” (caught before PRed!) that forced me to rethink what “type safety” actually means in a dynamic code path. My code was working, the data was correct, and the TS linter wasn’t yelling at me. The problem was ...

Dec 28, 2025 · 4 min read · offthehappypath.dev  
Read the article

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

## Written by

[Julia Breeden](https://hashnode.com/@juliabreeden)

@juliabreeden

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

Reflections on software engineering, and writing things I wish I'd understood earlier.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
