<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>TypeScript on 杨刚的个人网站</title>
    <link>https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/</link>
    <description>Recent content in TypeScript on 杨刚的个人网站</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh</language>
    <copyright>Copyright © 2018-2025 GradyYoung. All rights reserved.</copyright>
    <lastBuildDate>Tue, 27 May 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>1、TypeScript</title>
      <link>https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/266f89ac/</link>
      <pubDate>Tue, 27 May 2025 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/266f89ac/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;什么是TypeScript 
    &lt;div id=&#34;什么是typescript&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e4%bb%80%e4%b9%88%e6%98%aftypescript&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;TypeScript（简称：TS）是 JavaScript 的超集（JS 有的 TS 都有）。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>2、数据类型</title>
      <link>https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/e8faee47/</link>
      <pubDate>Tue, 03 Sep 2024 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/e8faee47/</guid>
      <description>&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;TypeScript 是 JS 的超集，TS 提供了 JS 的所有功能，并且额外的增加了：类型系统。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>3、类型声明文件</title>
      <link>https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/258e8558/</link>
      <pubDate>Tue, 03 Sep 2024 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/bafd68f1/81ac3c6b/6d366d27/258e8558/</guid>
      <description>&lt;p&gt;类型声明文件：用来为已存在的 JS 库提供类型信息。&lt;/p&gt;
&lt;p&gt;这样在 TS 项目中使用这些库时，就像用 TS 一样，都会有代码提示、类型保护等机制了。&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
