<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/intro-to-typescript-ks345aynk" -->

---
title: Intro to Typescript | daily.dev
description:  Typescript is a language built on top of JavaScript developed by Microsoft. It allows us to set type definitions where we will go over in code snippets in...
canonical: https://daily.dev/posts/intro-to-typescript-ks345aynk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Intro to Typescript | daily.dev
og:description:  Typescript is a language built on top of JavaScript developed by Microsoft. It allows us to set type definitions where we will go over in code snippets in...
og:url: https://daily.dev/posts/intro-to-typescript-ks345aynk
og:image: https://api.daily.dev/og/posts/KS345ayNk.png
og:image:alt: Intro to Typescript
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.

# Intro to Typescript

**[Towards Dev](https://daily.dev/sources/towardsdev)** · 2 min read · 19 upvotes · 0 comments

## Summary

Typescript is a language built on top of JavaScript developed by Microsoft. It allows us to set type definitions where we will go over in code snippets in this article. In larger applications and passing down props and state, these errors will be useful. We can set the type value in brackets and the error will go away.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://towardsdev.com/intro-to-typescript-c81593ae1147>

---

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

[View this post on daily.dev](https://daily.dev/posts/intro-to-typescript-ks345aynk)

```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":"Intro to Typescript","url":"https://daily.dev/posts/intro-to-typescript-ks345aynk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/intro-to-typescript-ks345aynk"},"datePublished":"2022-01-10T11:19:58.923Z","dateModified":"2022-01-10T11:19:58.928Z","description":" Typescript is a language built on top of JavaScript developed by Microsoft. It allows us to set type definitions where we will go over in code snippets in...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c72804026991039d2b14a3f511a48c5e","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c72804026991039d2b14a3f511a48c5e","isAccessibleForFree":true,"articleSection":"Towards Dev","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":"Towards Dev","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2c710db2750a4a70835862534cb7c9d4","url":"https://daily.dev/sources/towardsdev"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/intro-to-typescript-ks345aynk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":19},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"typescript","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Towards Dev","item":"https://daily.dev/sources/towardsdev"},{"@type":"ListItem","position":3,"name":"Intro to Typescript"}]}
```

