<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Type-Safety on Dev &amp; Platform Engineering Hub</title><link>https://rhidayat.work/topics/type-safety/</link><description>Recent content in Type-Safety 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 12:30:00 +0000</lastBuildDate><atom:link href="https://rhidayat.work/topics/type-safety/index.xml" rel="self" type="application/rss+xml"/><item><title>TS Ep 1: Fundamental TypeScript — Inference, Type Narrowing, and Discriminated Unions</title><link>https://rhidayat.work/series/typescript/fundamental/01-typescript-fundamentals-and-narrowing/</link><pubDate>Sun, 09 Aug 2026 12:30:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/fundamental/01-typescript-fundamentals-and-narrowing/</guid><description>The foundational guide to mastering TypeScript. Learn how the type inference engine works, master type narrowing with typeof, instanceof, in, and custom type predicates (is), build type-safe discriminated unions, and use as const assertions.</description></item><item><title>TS Ep 29: Introduction to Generics — Type Parameters (&lt;T&gt;)</title><link>https://rhidayat.work/series/typescript/intermediate/05-intro-to-generics/</link><pubDate>Sun, 09 Aug 2026 11:35:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/intermediate/05-intro-to-generics/</guid><description>An in-depth introduction to Generics in TypeScript. Learn how type parameters (&lt;code&gt;&amp;lt;T&amp;gt;&lt;/code&gt;) bridge reusable logic with strict type safety, generic type inference, generic interfaces (&lt;code&gt;ApiResponse&amp;lt;T&amp;gt;&lt;/code&gt;), and generic classes.</description></item><item><title>TS Ep 6: Any vs. Unknown — Top Types and Type Safety</title><link>https://rhidayat.work/series/typescript/fundamental/06-any-vs-unknown/</link><pubDate>Sun, 09 Aug 2026 10:25:00 +0000</pubDate><guid>https://rhidayat.work/series/typescript/fundamental/06-any-vs-unknown/</guid><description>Understand the type-system mechanics of top types in TypeScript. Learn why &amp;lsquo;any&amp;rsquo; disables type checking and causes type contagion, why &amp;lsquo;unknown&amp;rsquo; provides safe dynamic typing, and how to use &amp;lsquo;unknown&amp;rsquo; with runtime validation.</description></item></channel></rss>