<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>madogiwa0124</author_name>
  <author_url>https://blog.hatena.ne.jp/madogiwa0124/</author_url>
  <blog_title>Madogiwa Blog</blog_title>
  <blog_url>https://madogiwa0124.hatenablog.com/</blog_url>
  <categories>
    <anon>開発</anon>
    <anon>JavaScript</anon>
    <anon>Vue.js</anon>
    <anon>フロントエンド</anon>
  </categories>
  <description>vue-tsc v2.2.0からv2.2.2にアップデートした際にuseSlotを使ったコードで以下のようなエラーが発生した。 github.com app/frontend/components/ui/Card.vue:27:7 - error TS7022: 'slots' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. 27 const slots = useSlots(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmadogiwa0124.hatenablog.com%2Fentry%2F2025%2F02%2F24%2F151710&quot; title=&quot;vue-tsc v2.2.0からv2.2.2にアップデートした際にuseSlotを使ったコードがエラーになった📝 - Madogiwa Blog&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-02-24 15:17:10</published>
  <title>vue-tsc v2.2.0からv2.2.2にアップデートした際にuseSlotを使ったコードがエラーになった📝</title>
  <type>rich</type>
  <url>https://madogiwa0124.hatenablog.com/entry/2025/02/24/151710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
