<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kimizuka</author_name>
  <author_url>https://blog.hatena.ne.jp/kimizuka/</author_url>
  <blog_title>みかづきブログ・カスタム</blog_title>
  <blog_url>https://blog.kimizuka.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>functionで宣言した関数の中でthisを使うと、 'this' implicitly has type 'any' because it does not have a type annotation. とエラーが出ます。アローファンクションと近い、functionによる関数宣言は実行方法によってthisが変化するからです。TypeScriptのドキュメント をみてみると、 Unfortunately, the type of this.suits[pickedSuit] is still any. That’s because this comes from the function …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kimizuka.org%2Fentry%2F2021%2F09%2F11%2F202457&quot; title=&quot;TypeScriptでthisの型を指定する 👨‍🏫 - みかづきブログ・カスタム&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/k/kimizuka/20210911/20210911202448.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-09-11 20:24:57</published>
  <title>TypeScriptでthisの型を指定する 👨‍🏫</title>
  <type>rich</type>
  <url>https://blog.kimizuka.org/entry/2021/09/11/202457</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
