<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>meetsmore</author_name>
  <author_url>https://blog.hatena.ne.jp/meetsmore/</author_url>
  <blog_title>ミツモア Tech blog</blog_title>
  <blog_url>https://engineering.meetsmore.com/</blog_url>
  <categories>
  </categories>
  <description>※ こちらはミツモアAdvent Calendar 2023の13日目の記事です。 型知識が明日のあなたを変える、型トリビアの泉へようこそ ミツモアの坂本です。 本日も、生きていく上で役には立ちそうだし、つい人に教えたくなってしまうような型トリビアを紹介していきます。 20へぇ: !を多用すると分かりやすくなる TypeScriptではOptional型に対して存在チェックをせずにアクセスすると 'num' is possibly 'undefined'. といったようなエラーが出ます。 丁寧に書く場合は const numStr = num?.toString() ?? '0' のように書か…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineering.meetsmore.com%2Fentry%2F2023%2F12%2F13%2F173512&quot; title=&quot;型トリビアの泉〜素晴らしき型知識〜 - ミツモア Tech 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/m/meetsmore/20221206/20221206215730.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-13 17:35:12</published>
  <title>型トリビアの泉〜素晴らしき型知識〜</title>
  <type>rich</type>
  <url>https://engineering.meetsmore.com/entry/2023/12/13/173512</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
