<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>Typescript</anon>
    <anon>プログラミング</anon>
    <anon>HTML/CSS</anon>
    <anon>メンタル</anon>
    <anon>恥晒し</anon>
    <anon>学習</anon>
  </categories>
  <description>経緯 js→tsへの移行をしているのだが、掲題の通り'x' is not definedが発生していて、かなり悩んだ。。。 ts移行の記事は以下 suzaku-tec.hatenadiary.jp suzaku-tec.hatenadiary.jp suzaku-tec.hatenadiary.jp 内容 htmlからtsで定義したfunctionを呼び出しているのだが、呼び出せていない。 ソース ts側 function showSettingModal() { ・・・ } html側 &lt;a class=&quot;dropdown-item&quot; href=&quot;#&quot; id=&quot;show message&quot; o…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2021%2F07%2F24%2F011054&quot; title=&quot;【typescript移行】Typescriptで`&amp;#39;x&amp;#39; is not defined` - エンターテイメント！！&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-07-24 01:10:54</published>
  <title>【typescript移行】Typescriptで`'x' is not defined`</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2021/07/24/011054</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
