<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinshin86</author_name>
  <author_url>https://blog.hatena.ne.jp/shinshin86/</author_url>
  <blog_title>at backyard</blog_title>
  <blog_url>https://shinshin86.hateblo.jp/</blog_url>
  <categories>
    <anon>TypeScript</anon>
    <anon>React</anon>
    <anon>備忘録</anon>
  </categories>
  <description>vitestを触ってみようと思い、viteで作成したTypeScript(React)プロジェクトを立ち上げてテストを書いていた際、下記の記述に従って、vite.config.ts の defineConfig.test.setupFiles で指定したファイルに下記のような記述を追加した。 reactjs.org globalThis.IS_REACT_ACT_ENVIRONMENT = true; すると、下記のようなエラーが出てしまったのでそちらを対応した際のメモ。備忘録。 Element implicitly has an 'any' type because type 'typeof…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinshin86.hateblo.jp%2Fentry%2F2022%2F04%2F14%2F230753&quot; title=&quot;TypeScript(React)でElement implicitly has an &amp;#39;any&amp;#39; type because type &amp;#39;typeof globalThis&amp;#39;というエラーを解消する - at backyard&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>2022-04-14 23:07:53</published>
  <title>TypeScript(React)でElement implicitly has an 'any' type because type 'typeof globalThis'というエラーを解消する</title>
  <type>rich</type>
  <url>https://shinshin86.hateblo.jp/entry/2022/04/14/230753</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
