<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motomichi_works</author_name>
  <author_url>https://blog.hatena.ne.jp/motomichi_works/</author_url>
  <blog_title>Motomichi Works Blog</blog_title>
  <blog_url>https://motomichi-works.hatenablog.com/</blog_url>
  <categories>
    <anon>制作</anon>
    <anon>typescript学習日記</anon>
    <anon>typescript</anon>
  </categories>
  <description>参考にさせていただいたページ TypeScript 2.1のkeyofとかMapped typesがアツい - Qiita 今日のバージョン TypeScript 4.2.3 文字列の型について 以下のようにすると、変数keyの型はstringになります。 const key: string = 'keyNameA' 以下のようにすると、変数keyの型は'keyNameA'または'keyNameB’になり、この2種類の文字列しか代入できなくなります。 type Key = 'keyNameA' | 'keyNameB' const key: Key = 'keyNameA' keyofキーワー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotomichi-works.hatenablog.com%2Fentry%2F2021%2F04%2F30%2F001347&quot; title=&quot;TypeScript 学習日記 その0001 objectのキーを元にStringLiteralTypesの型を定義する - Motomichi Works 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-30 00:13:47</published>
  <title>TypeScript 学習日記 その0001 objectのキーを元にStringLiteralTypesの型を定義する</title>
  <type>rich</type>
  <url>https://motomichi-works.hatenablog.com/entry/2021/04/30/001347</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
