<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Const-Assertions on Dev &amp; Platform Engineering Hub</title><link>https://rhidayat.work/topics/const-assertions/</link><description>Recent content in Const-Assertions 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 11:10:00 +0000</lastBuildDate><atom:link href="https://rhidayat.work/topics/const-assertions/index.xml" rel="self" type="application/rss+xml"/><item><title>TS Ep 15: Immutability with `as const` &amp; Const Assertions</title><link>https://rhidayat.work/series/typescript/fundamental/15-as-const-and-immutability/</link><pubDate>Sun, 09 Aug 2026 11:10:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/fundamental/15-as-const-and-immutability/</guid><description>An exhaustive analysis of Const Assertions (&lt;code&gt;as const&lt;/code&gt;). Learn the 3 transformation rules of const assertions, deep recursive read-only object properties, converting arrays into readonly tuples, and deriving union types dynamically using &lt;code&gt;typeof ARRAY[number]&lt;/code&gt;.</description></item></channel></rss>