<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanashun_dev</author_name>
  <author_url>https://blog.hatena.ne.jp/tanashun_dev/</author_url>
  <blog_title>ミツカリ技術ブログ</blog_title>
  <blog_url>https://tech-blog.mitsucari.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
  </categories>
  <description>はじめに 今回はちょっとした面白企画です。 クイズ形式でTypeScriptの型への理解度をチェックしてみましょう！ クイズ 以下クイズです。問題がコードで書かれています。 答えはアコーディオンで閉じていますので開いて確認してください。 なお、以下で書かれている「エラー」はコンパイルエラーを指します。実行時エラーではありません。 Q1 const q1: string = 1; // これはエラーになる？ 答え Type 'number' is not assignable to type 'string'. stringにnumberは入れられないのでエラーです。直感的にもわかるレベルですね…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-blog.mitsucari.com%2Fentry%2F2025%2F04%2F11%2F181245&quot; title=&quot;【全部解けるかな？】TypeScript型クイズ - ミツカリ技術ブログ&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>2025-04-11 18:12:45</published>
  <title>【全部解けるかな？】TypeScript型クイズ</title>
  <type>rich</type>
  <url>https://tech-blog.mitsucari.com/entry/2025/04/11/181245</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
