{"provider_name":"Hatena Blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-blog.mitsucari.com%2Fentry%2F2025%2F04%2F11%2F181245\" title=\"\u3010\u5168\u90e8\u89e3\u3051\u308b\u304b\u306a\uff1f\u3011TypeScript\u578b\u30af\u30a4\u30ba - \u30df\u30c4\u30ab\u30ea\u6280\u8853\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u3010\u5168\u90e8\u89e3\u3051\u308b\u304b\u306a\uff1f\u3011TypeScript\u578b\u30af\u30a4\u30ba","blog_title":"\u30df\u30c4\u30ab\u30ea\u6280\u8853\u30d6\u30ed\u30b0","author_name":"tanashun_dev","published":"2025-04-11 18:12:45","url":"https://tech-blog.mitsucari.com/entry/2025/04/11/181245","type":"rich","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://tech-blog.mitsucari.com/","width":"100%","author_url":"https://blog.hatena.ne.jp/tanashun_dev/","categories":["TypeScript"],"description":"\u306f\u3058\u3081\u306b \u4eca\u56de\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u9762\u767d\u4f01\u753b\u3067\u3059\u3002 \u30af\u30a4\u30ba\u5f62\u5f0f\u3067TypeScript\u306e\u578b\u3078\u306e\u7406\u89e3\u5ea6\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01 \u30af\u30a4\u30ba \u4ee5\u4e0b\u30af\u30a4\u30ba\u3067\u3059\u3002\u554f\u984c\u304c\u30b3\u30fc\u30c9\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002 \u7b54\u3048\u306f\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u3067\u9589\u3058\u3066\u3044\u307e\u3059\u306e\u3067\u958b\u3044\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u306a\u304a\u3001\u4ee5\u4e0b\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u300c\u30a8\u30e9\u30fc\u300d\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3092\u6307\u3057\u307e\u3059\u3002\u5b9f\u884c\u6642\u30a8\u30e9\u30fc\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 Q1 const q1: string = 1; // \u3053\u308c\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308b\uff1f \u7b54\u3048 Type 'number' is not assignable to type 'string'. string\u306bnumber\u306f\u5165\u308c\u3089\u308c\u306a\u3044\u306e\u3067\u30a8\u30e9\u30fc\u3067\u3059\u3002\u76f4\u611f\u7684\u306b\u3082\u308f\u304b\u308b\u30ec\u30d9\u30eb\u3067\u3059\u306d\u2026","version":"1.0"}