<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mapped-Types on Dev &amp; Platform Engineering Hub</title><link>https://rhidayat.work/topics/mapped-types/</link><description>Recent content in Mapped-Types on Dev &amp; Platform Engineering Hub</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Rachmat Hidayat</copyright><lastBuildDate>Sun, 09 Aug 2026 13:20:00 +0000</lastBuildDate><atom:link href="https://rhidayat.work/topics/mapped-types/index.xml" rel="self" type="application/rss+xml"/><item><title>TS Ep 50: DeepReadonly and DeepPartial</title><link>https://rhidayat.work/series/typescript/advanced/10-deep-readonly-and-deep-partial/</link><pubDate>Sun, 09 Aug 2026 13:20:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/advanced/10-deep-readonly-and-deep-partial/</guid><description>The built-in &lt;code&gt;Partial&lt;/code&gt; and &lt;code&gt;Readonly&lt;/code&gt; utilities are shallow. Learn how to write your own &lt;code&gt;DeepReadonly&lt;/code&gt; and &lt;code&gt;DeepPartial&lt;/code&gt; utilities that penetrate every layer of nested objects by combining Generics, Conditionals, &lt;code&gt;infer&lt;/code&gt;, Mapped Types, and Recursion simultaneously.</description></item><item><title>TS Ep 40: Key Remapping with `as`</title><link>https://rhidayat.work/series/typescript/intermediate/16-key-remapping-with-as/</link><pubDate>Sun, 09 Aug 2026 12:30:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/intermediate/16-key-remapping-with-as/</guid><description>Take your Mapped Types to the absolute limit. Learn how to compute entirely new string names for keys on the fly using Template Literal Types, and discover how to completely filter out properties by returning &lt;code&gt;never&lt;/code&gt; during key mapping.</description></item><item><title>TS Ep 39: Mapped Type Modifiers (`+`, `-`, `?`, `readonly`)</title><link>https://rhidayat.work/series/typescript/intermediate/15-mapped-types-modifiers/</link><pubDate>Sun, 09 Aug 2026 12:25:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/intermediate/15-mapped-types-modifiers/</guid><description>An in-depth guide to Mapped Type Modifiers in TypeScript. Learn how to preserve, add (&lt;code&gt;+&lt;/code&gt;), or strip (&lt;code&gt;-&lt;/code&gt;) property modifiers like &lt;code&gt;readonly&lt;/code&gt; and &lt;code&gt;?&lt;/code&gt;. We explore how these mapping modifiers power TypeScript&amp;rsquo;s built-in &lt;code&gt;Partial&lt;/code&gt;, &lt;code&gt;Required&lt;/code&gt;, and &lt;code&gt;Readonly&lt;/code&gt; utility types.</description></item><item><title>TS Ep 38: Mapped Types (Basics)</title><link>https://rhidayat.work/series/typescript/intermediate/14-mapped-types-basics/</link><pubDate>Sun, 09 Aug 2026 12:20:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/intermediate/14-mapped-types-basics/</guid><description>An in-depth guide to Mapped Types in TypeScript. Learn how to use the &lt;code&gt;[K in Union]&lt;/code&gt; syntax to iterate over literal unions, transform existing object properties using &lt;code&gt;keyof&lt;/code&gt; and Indexed Access, and build strict state validation maps that perfectly mirror domain models.</description></item></channel></rss>