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

---
title: 13 Data Types of Typescript you should know for...
description: The most basic data type is the simple true/false value, which Typescript calls a Boolean. All numbers are either floating-point values or Big Integers. Since...
canonical: https://daily.dev/posts/13-data-types-of-typescript-you-should-know-for-beginners--i-oobfiat
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: 13 Data Types of Typescript you should know for beginners 👨🏻‍💻👩‍💻 | daily.dev
og:description: The most basic data type is the simple true/false value, which Typescript calls a Boolean. All numbers are either floating-point values or Big Integers. Since...
og:url: https://daily.dev/posts/13-data-types-of-typescript-you-should-know-for-beginners--i-oobfiat
og:image: https://api.daily.dev/og/posts/i-ooBfIAt.png
og:image:alt: 13 Data Types of Typescript you should know for beginners 👨🏻‍💻👩‍💻
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.

# 13 Data Types of Typescript you should know for beginners 👨🏻‍💻👩‍💻

**[Hashnode](https://daily.dev/sources/hashnode)** · 7 min read · 30 upvotes · 3 comments

## Summary

The most basic data type is the simple true/false value, which Typescript calls a Boolean. All numbers are either floating-point values or Big Integers. Since TypeScript version 1.4, TypeScript has included support for ES6 Template strings. When you want to span a string to multiple lines and/or have to embed expressions, use templated strings.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://asyraf.hashnode.dev/13-data-types-of-typescript-you-should-know-for-beginners-ckfzf6i7503qd3ws18ttgh1wp>

## Community discussion

Top comments from developers on daily.dev.

**@idoshamun** · 4 upvotes

> Here they are:
> Boolean
> Number
> String
> Array
> Tuple
> Enum
> Unkown
> Any
> Void
> Null / Undefined
> Never
> Object
> Type assertions

**@mihai** · 2 upvotes

> Thank you. This is is actually a good head-start for whoever is starting to work with TS, as this can also safely be bookmarked and used as a cheatsheet when in doubt. :-)

**@malek\_smida** · 1 upvotes

> Insightful! I just start using Ts and this gonna help me

---

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

[View this post on daily.dev](https://daily.dev/posts/13-data-types-of-typescript-you-should-know-for-beginners--i-oobfiat)

```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":"13 Data Types of Typescript you should know for beginners 👨🏻‍💻👩‍💻","url":"https://daily.dev/posts/13-data-types-of-typescript-you-should-know-for-beginners--i-oobfiat","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/13-data-types-of-typescript-you-should-know-for-beginners--i-oobfiat"},"datePublished":"2020-10-08T02:48:53.711Z","dateModified":"2021-10-07T14:17:10.317Z","description":"The most basic data type is the simple true/false value, which Typescript calls a Boolean. All numbers are either floating-point values or Big Integers. Since...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/137a4c1626a7ef860d56a16a70194630","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/137a4c1626a7ef860d56a16a70194630","isAccessibleForFree":true,"articleSection":"Hashnode","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":"Hashnode","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4","url":"https://daily.dev/sources/hashnode"},"commentCount":3,"discussionUrl":"https://daily.dev/posts/13-data-types-of-typescript-you-should-know-for-beginners--i-oobfiat","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":30},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":3}],"keywords":"typescript","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hashnode","item":"https://daily.dev/sources/hashnode"},{"@type":"ListItem","position":3,"name":"13 Data Types of Typescript you should know for beginners 👨🏻‍💻👩‍💻"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/13-data-types-of-typescript-you-should-know-for-beginners--i-oobfiat","comment":[{"@type":"Comment","text":"Here they are:\nBoolean\nNumber\nString\nArray\nTuple\nEnum\nUnkown\nAny\nVoid\nNull / Undefined\nNever\nObject\nType assertions","datePublished":"2020-10-08T06:08:00.696Z","url":"https://daily.dev/posts/i-ooBfIAt#c-aw0Xg9CoF","author":{"@type":"Person","name":"Ido Shamun","url":"https://daily.dev/idoshamun","image":"https://media.daily.dev/image/upload/s---xy_OAwk--/f_auto,q_auto/v1703781380/avatars/avatar_28849d86070e4c099c877ab6837c61f0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"Thank you. This is is actually a good head-start for whoever is starting to work with TS, as this can also safely be bookmarked and used as a cheatsheet when in doubt. :-)","datePublished":"2020-10-08T09:12:33.626Z","url":"https://daily.dev/posts/i-ooBfIAt#c-L_KcMwMtg","author":{"@type":"Person","name":"mihai","url":"https://daily.dev/mihai","image":"https://avatars2.githubusercontent.com/u/15910058?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Insightful! I just start using Ts and this gonna help me","datePublished":"2020-10-08T10:27:21.104Z","url":"https://daily.dev/posts/i-ooBfIAt#c-hiw0yUGye","author":{"@type":"Person","name":"malek smida","url":"https://daily.dev/malek_smida","image":"https://lh3.googleusercontent.com/a-/AOh14GjySZYCECYuuVA6J7zzrVs73Iawe5UC6jEcBSuMWQ=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

