<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>numb_86</author_name>
  <author_url>https://blog.hatena.ne.jp/numb_86/</author_url>
  <blog_title>30歳からのプログラミング</blog_title>
  <blog_url>https://numb86-tech.hatenablog.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
  </categories>
  <description>TypeScript の構造的部分型という概念は、直感的で分かりやすい。 だが一方で、Freshness やプリミティブ型の挙動など、よく理解しておかないと戸惑ってしまうような挙動も多い。 例えば、なぜ以下のコードがエラーにならないのか、最初は分からなかった。 const number: {} = 1; const string: {} = 'a'; const boolean: {} = true; const symbol: {} = Symbol('a'); また、下記のコードでbarだけがエラーになるのも分かりづらい。 const point = {x: 1, y: 1}; const…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnumb86-tech.hatenablog.com%2Fentry%2F2020%2F02%2F02%2F100816&quot; title=&quot;TypeScript の構造的部分型とプリミティブ型について - 30歳からのプログラミング&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>2020-02-02 10:08:16</published>
  <title>TypeScript の構造的部分型とプリミティブ型について</title>
  <type>rich</type>
  <url>https://numb86-tech.hatenablog.com/entry/2020/02/02/100816</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
