From b6d3a4fff39879bfa4b57a207c2184c8b84e5393 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 12 Mar 2024 10:50:24 +0900 Subject: [PATCH] =?UTF-8?q?enhance(ServerFinder):=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E3=81=99=E3=82=8B=E8=83=8C=E6=99=AF=E7=94=BB=E5=83=8F=E3=81=AE?= =?UTF-8?q?=E5=84=AA=E5=85=88=E9=A0=86=E4=BD=8D=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/data/nav.ts | 4 ++-- components/servers/Item.vue | 8 ++++---- types/misc.d.ts | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/assets/data/nav.ts b/assets/data/nav.ts index 2cc59a48..3cf1f4e5 100644 --- a/assets/data/nav.ts +++ b/assets/data/nav.ts @@ -1,4 +1,4 @@ -import type { FunctionalComponent } from "nuxt/dist/app/compat/capi"; +import type { Component } from "#app/compat/capi"; import GHIcon from "bi/github.svg"; export type NavSection = { @@ -18,7 +18,7 @@ export type NavItem = { to: string; } | { /** アイコン(svgをインポートして貼り付け) */ - icon: FunctionalComponent | string; + icon: Component | string; /** リンク先 */ to: string; }; diff --git a/components/servers/Item.vue b/components/servers/Item.vue index 4e174130..8aace34c 100644 --- a/components/servers/Item.vue +++ b/components/servers/Item.vue @@ -3,8 +3,8 @@