---
title: "TypeScript Done Wrong"
url: https://daily.dev/posts/typescript-done-wrong-jbch-zhvv
source_url: https://blog.openreplay.com/typescript-done-wrong
type: article
source: "asayer"
published: 2021-10-25T13:20:12.401Z
updated: 2021-10-25T13:20:12.402Z
tags: ["general-programming", "typescript"]
reading_time: 12
upvotes: 15
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript Done Wrong

**[asayer](https://daily.dev/sources/asayer)** · 12 min read · 15 upvotes · 1 comments

## Summary

Top 5 mistakes we've all done at one point or another

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.openreplay.com/typescript-done-wrong>

## Community discussion

Top comments from developers on daily.dev.

**@ignusg** · 0 upvotes

> The numeric enums are very important to get right and I keep seeing projects abusing them.
>
> If you ever save an enum somewhere and then change the order/add/remove elements, your saved data will be incorrect. Go for string enums in that case.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/typescript-done-wrong-jbch-zhvv)
