<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/Nx66Fcc6P" -->

---
title: Typescript Mistakes To Avoid | daily.dev
description: Typescript took the Javascript world by storm. There is a huge possibility that you have already worked with or will be working soon with a codebase written in...
canonical: https://daily.dev/posts/typescript-mistakes-to-avoid-nx66fcc6p
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Typescript Mistakes To Avoid | daily.dev
og:description: Typescript took the Javascript world by storm. There is a huge possibility that you have already worked with or will be working soon with a codebase written in...
og:url: https://daily.dev/posts/typescript-mistakes-to-avoid-nx66fcc6p
og:image: https://api.daily.dev/og/posts/Nx66Fcc6P.png
og:image:alt: Typescript Mistakes To Avoid
og:image:width: 1200
og:image:height: 630
og:locale: 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 Mistakes To Avoid

**[SoftwareMill](https://daily.dev/sources/softwaremill)** · 11 min read · 38 upvotes · 3 comments

## Summary

Typescript took the Javascript world by storm. There is a huge possibility that you have already worked with or will be working soon with a codebase written in Typescript. No matter what level of expertise you are on in a programming language you will make mistakes. The worst thing, however, is making them because you are not aware that you are doing something wrong.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.softwaremill.com/typescript-mistakes-to-avoid-d3ab240c90eb>

## Community discussion

Top comments from developers on daily.dev.

**@alfreddagenais** · 2 upvotes

> True article! Very helpful

**@malvabombom** · 0 upvotes

> Nice and useful article 👍

---

Tags: [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/typescript-mistakes-to-avoid-nx66fcc6p)

```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","@type":"TechArticle","headline":"Typescript Mistakes To Avoid","url":"https://daily.dev/posts/typescript-mistakes-to-avoid-nx66fcc6p","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/typescript-mistakes-to-avoid-nx66fcc6p"},"datePublished":"2020-12-18T08:37:02.102Z","dateModified":"2021-10-07T14:17:10.317Z","description":"Typescript took the Javascript world by storm. There is a huge possibility that you have already worked with or will be working soon with a codebase written in...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0b18009211578399de96f99aaaebce94","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0b18009211578399de96f99aaaebce94","isAccessibleForFree":true,"articleSection":"SoftwareMill","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"SoftwareMill","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/30827c94697f47fcbc88ff9b59fa226f","url":"https://daily.dev/sources/softwaremill"},"commentCount":3,"discussionUrl":"https://daily.dev/posts/typescript-mistakes-to-avoid-nx66fcc6p","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":38},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":3}],"keywords":"typescript","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SoftwareMill","item":"https://daily.dev/sources/softwaremill"},{"@type":"ListItem","position":3,"name":"Typescript Mistakes To Avoid"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/typescript-mistakes-to-avoid-nx66fcc6p","comment":[{"@type":"Comment","text":"True article! Very helpful","datePublished":"2020-12-18T14:37:17.392Z","url":"https://daily.dev/posts/Nx66Fcc6P#c-Dja-h3KRO","author":{"@type":"Person","name":"Alfred Dagenais","url":"https://daily.dev/alfreddagenais","image":"https://avatars1.githubusercontent.com/u/5769264?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Nice and useful article 👍","datePublished":"2020-12-18T20:30:59.553Z","url":"https://daily.dev/posts/Nx66Fcc6P#c-u8TlOclbw","author":{"@type":"Person","name":"malvabombom","url":"https://daily.dev/malvabombom","image":"https://media.daily.dev/image/upload/f_auto/v1608438181/avatars/Es4gvknTR"}}]}
```

