<?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>Typescript on POPWEB</title>
    <link>https://pop-web.github.io/categories/typescript/</link>
    <description>Recent content in Typescript on POPWEB</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Thu, 11 Jun 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://pop-web.github.io/categories/typescript/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>TypeScriptの型まとめ</title>
      <link>https://pop-web.github.io/programming/typescript-type/</link>
      <pubDate>Thu, 11 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/typescript-type/</guid>
      <description>&lt;p&gt;TypeScriptの方の書き方をまとめていく。&lt;/p&gt;
&lt;h2 id=&#34;boolean型&#34;&gt;boolean型&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;const value: boolean;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;number型&#34;&gt;number型&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;const num: number;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;string型&#34;&gt;string型&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;const greet: string;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;オブジェクト型&#34;&gt;オブジェクト型&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;const cat: {
  name: string;
  age: number;
} = {
  name: &amp;#34;tama&amp;#34;,
  age: 2,
};
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;配列型&#34;&gt;配列型&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;const colors: string[] = [&amp;#34;red&amp;#34;, &amp;#34;blue&amp;#34;];
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;配列にstring型やnumber型が混在する場合はanyなどが使える。&lt;/p&gt;</description>
    </item>
    <item>
      <title>TypeScriptのインストールとJavaScriptへのコンパイル方法</title>
      <link>https://pop-web.github.io/programming/typescript-install/</link>
      <pubDate>Sun, 07 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/typescript-install/</guid>
      <description>&lt;p&gt;タイトル通りTypeScriptのインストールとJavaScriptのコンパイル方法をやっていく。&lt;/p&gt;
&lt;h2 id=&#34;tyepscriptのインストール&#34;&gt;TyepScriptのインストール&lt;/h2&gt;
&lt;p&gt;Node.jsは事前にインストールされているものとする。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
