<?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>オブジェクトの型を定義する 以下のように定義しました。 type MyObjA = { a1: string; a2: string } type MyObjB = { b1: string; b2: string } type MyObjC = { c1: string; c2: string } type MyObjUnion = MyObjA | MyObjB | MyObjC type MyObjAnd = MyObjA &amp; MyObjB &amp; MyObjC 定義したMyObjUnion型を使ってみる 以下のようにすると、エラーになりました。 const myObj1: MyObjUni…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotomichi-works.hatenablog.com%2Fentry%2F2021%2F06%2F01%2F011810&quot; title=&quot;TypeScript学習日記 その0006 オブジェクトの型を複数定義して|で合わせたり&amp;amp;で合わせたりしてみる(union型とintersection型) - 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-06-01 01:18:10</published>
  <title>TypeScript学習日記 その0006 オブジェクトの型を複数定義して|で合わせたり&amp;で合わせたりしてみる(union型とintersection型)</title>
  <type>rich</type>
  <url>https://motomichi-works.hatenablog.com/entry/2021/06/01/011810</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
