<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>okinawanpizza</author_name>
  <author_url>https://blog.hatena.ne.jp/okinawanpizza/</author_url>
  <blog_title>tamakipedia</blog_title>
  <blog_url>https://okinawanpizza.hatenablog.com/</blog_url>
  <categories>
    <anon>typescript</anon>
  </categories>
  <description>今回は type と interface の違いについて。 # オブジェクトに型を定義する アノテーションの部分をオブジェクト{}にすることで可能。 ※型アノテーション = stringやbooleanのような注釈をつけて型を定義すること //通常の型アノテーション let name: string = &quot;tamakipedia&quot;; //オブジェクトの場合 let obj: {name: string, age: number, isHandsome: boolean} = { name: &quot;tamakipedia&quot;, age: 20, isHandsome: true } interface…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokinawanpizza.hatenablog.com%2Fentry%2F2021%2F10%2F23%2F000000&quot; title=&quot;【typescript】interfaceは拡張ができる、typeは拡張ができない - tamakipedia&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-10-23 00:00:00</published>
  <title>【typescript】interfaceは拡張ができる、typeは拡張ができない</title>
  <type>rich</type>
  <url>https://okinawanpizza.hatenablog.com/entry/2021/10/23/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
