<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>深写 on 子芒</title>
    <link>https://www.zimang.fun/tags/%E6%B7%B1%E5%86%99/</link>
    <description>Recent content in 深写 on 子芒</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 07 Oct 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.zimang.fun/tags/%E6%B7%B1%E5%86%99/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>深写《模块与声明文件》：TS 的两个世界协议（Ch12 快读 &#43; Ch13）</title>
      <link>https://www.zimang.fun/topics/typescript/2026-10-07-essentials-ch13-deep-modules-declarations/</link>
      <pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://www.zimang.fun/topics/typescript/2026-10-07-essentials-ch13-deep-modules-declarations/</guid>
      <description>&lt;p&gt;Ch13 是深写章（module/script 判定、.d.ts、declare 家族），Ch12（怪癖篇）按计划快读。深写 Ch13 的理由：读 harness 源码时 import 跳进 &lt;code&gt;.d.ts&lt;/code&gt; 的每一步困惑（&lt;code&gt;declare global&lt;/code&gt;、模块扩充、&lt;code&gt;export {}&lt;/code&gt;）都在这章。三组行为本地 tsc 项目模式实测。&lt;/p&gt;</description>
    </item>
    <item>
      <title>深写《派生类型》：单向的世界桥（Ch10）</title>
      <link>https://www.zimang.fun/topics/typescript/2026-10-01-essentials-ch10-deep-deriving/</link>
      <pubDate>Thu, 01 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://www.zimang.fun/topics/typescript/2026-10-01-essentials-ch10-deep-deriving/</guid>
      <description>&lt;p&gt;Ch10 是全书的&amp;quot;读库代码钥匙&amp;quot;章：&lt;code&gt;keyof&lt;/code&gt; / &lt;code&gt;typeof&lt;/code&gt; / 索引访问 / &lt;code&gt;Parameters&lt;/code&gt; / &lt;code&gt;ReturnType&lt;/code&gt; / &lt;code&gt;Awaited&lt;/code&gt;。深写它的原因：harness 里几乎每一个泛型工具、每一段 store 类型设计，都是这六个操作的组合拳。以下示例全部经本地 tsc 实测（14 行类型标注通过、1 行故意报错验证联合的边界）。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
