<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lehtie</author_name>
  <author_url>https://blog.hatena.ne.jp/lehtie/</author_url>
  <blog_title>PLEX Product Team Blog</blog_title>
  <blog_url>https://product.plex.co.jp/</blog_url>
  <categories>
    <anon>フロントエンド</anon>
  </categories>
  <description>この記事は、 PLEX Advent Calendar 2024の5日目の記事です。 今回紹介する下記の型は、 よく使うもの、見かけた時にすぐに理解しづらいものを選んでいます。 TypeScriptの型を復習しましょう リテラル型 特定の値そのものを型として使用できる機能 // 例1: type Direction = &quot;north&quot; | &quot;south&quot; | &quot;east&quot; | &quot;west&quot; let myDirection: Direction = &quot;north&quot; // OK myDirection = &quot;up&quot; // ❌ エラー: &quot;up&quot;は許可されていない // 例2: // HTTP メソ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fproduct.plex.co.jp%2Fentry%2FTypescriptType&quot; title=&quot;TypeScriptの型を復習しましょう - PLEX Product Team Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/p/plexjp/20260107/20260107174112.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-12-05 10:00:00</published>
  <title>TypeScriptの型を復習しましょう</title>
  <type>rich</type>
  <url>https://product.plex.co.jp/entry/TypescriptType</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
