<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/advanced-typescript-wcrx-pslb" -->

---
title: Advanced TypeScript | daily.dev
description: Mapped types are a great way of transforming existing types into new types. We create the helper type that takes a type and maps all properties to be of return...
canonical: https://daily.dev/posts/advanced-typescript-wcrx-pslb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Advanced TypeScript | daily.dev
og:description: Mapped types are a great way of transforming existing types into new types. We create the helper type that takes a type and maps all properties to be of return...
og:url: https://daily.dev/posts/advanced-typescript-wcrx-pslb
og:image: https://api.daily.dev/og/posts/wCRX-Pslb.png
og:image:alt: Advanced 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.

# Advanced TypeScript

**[Community Picks](https://daily.dev/sources/community)** · 7 min read · 707 upvotes · 25 comments

## Summary

Mapped types are a great way of transforming existing types into new types. We create the helper type that takes a type and maps all properties to be of return type.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://angularexperts.io/blog/advanced-typescript>

## Community discussion

Top comments from developers on daily.dev.

**@prince1456** · 4 upvotes

> Love this good job on posting this thats what i was looking for :)

**@vineethvijayan314** · 4 upvotes

> Pretty neat

**@muzzammil194** · 2 upvotes

> dynamic ternary condition love it

**@proco** · 2 upvotes

> Complex topics the easy way

**@liquidvalx18** · 2 upvotes

> I prefer javascript lol, good info anyways

## 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 · 1 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: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#typescript](https://daily.dev/tags/typescript), [#angular](https://daily.dev/tags/angular)

[View this post on daily.dev](https://daily.dev/posts/advanced-typescript-wcrx-pslb)

```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":"Advanced TypeScript","url":"https://daily.dev/posts/advanced-typescript-wcrx-pslb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/advanced-typescript-wcrx-pslb"},"datePublished":"2022-11-11T15:40:21.415Z","dateModified":"2023-12-07T12:02:45.284Z","description":"Mapped types are a great way of transforming existing types into new types. We create the helper type that takes a type and maps all properties to be of return...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eaeacd1033553f0ac650b1c335a2439b","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eaeacd1033553f0ac650b1c335a2439b","isAccessibleForFree":true,"articleSection":"Community Picks","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":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":25,"discussionUrl":"https://daily.dev/posts/advanced-typescript-wcrx-pslb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":707},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":25}],"keywords":"webdev,javascript,typescript,angular","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Advanced TypeScript"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/advanced-typescript-wcrx-pslb","comment":[{"@type":"Comment","text":"Love this good job on posting this thats what i was looking for :)","datePublished":"2022-11-12T22:38:59.710Z","url":"https://daily.dev/posts/wCRX-Pslb#c-g_sSL7Vey","author":{"@type":"Person","name":"Ali","url":"https://daily.dev/prince1456","image":"https://avatars.githubusercontent.com/u/20523380?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"Pretty neat","datePublished":"2022-11-12T06:01:11.388Z","url":"https://daily.dev/posts/wCRX-Pslb#c-RRmigFsAd","author":{"@type":"Person","name":"Vineeth Vijayan","url":"https://daily.dev/vineethvijayan314","image":"https://lh3.googleusercontent.com/a/ALm5wu3arVknzFX96Y_2WWx_qlkKszkb5D5Lj6CaHVFx_w=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"dynamic ternary condition love it","datePublished":"2022-11-14T08:10:00.875Z","url":"https://daily.dev/posts/wCRX-Pslb#c-1tUIqW0wP","author":{"@type":"Person","name":"Muzzammil Shaikh","url":"https://daily.dev/muzzammil194","image":"https://avatars3.githubusercontent.com/u/6901240?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Complex topics the easy way","datePublished":"2022-11-15T20:32:20.355Z","url":"https://daily.dev/posts/wCRX-Pslb#c-seMMGcIiU","author":{"@type":"Person","name":"Eduardo Ortega","url":"https://daily.dev/proco","image":"https://avatars.githubusercontent.com/u/13167929?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"I prefer javascript lol, good info anyways","datePublished":"2022-11-27T17:07:43.616Z","url":"https://daily.dev/posts/wCRX-Pslb#c-DIoU-FcQZ","author":{"@type":"Person","name":"Pablo Valdes","url":"https://daily.dev/liquidvalx18","image":"https://media.daily.dev/image/upload/s--U4OkT5xb--/f_auto,q_auto/v1/avatars/avatar_gsoHucmYRdRT6HmNhnWhF"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

