diff --git a/src/client/@types/vue.d.ts b/src/client/@types/vue.d.ts index 0a79ecbb13..2b97bd961c 100644 --- a/src/client/@types/vue.d.ts +++ b/src/client/@types/vue.d.ts @@ -1,5 +1,5 @@ declare module '*.vue' { - import { defineComponent } from 'vue'; - const component: ReturnType; - export default component; + import type { DefineComponent } from 'vue' + const component: DefineComponent<{}, {}, any> + export default component } diff --git a/src/client/components/ui/a.vue b/src/client/components/global/a.vue similarity index 100% rename from src/client/components/ui/a.vue rename to src/client/components/global/a.vue diff --git a/src/client/components/acct.vue b/src/client/components/global/acct.vue similarity index 100% rename from src/client/components/acct.vue rename to src/client/components/global/acct.vue diff --git a/src/client/components/avatar.vue b/src/client/components/global/avatar.vue similarity index 97% rename from src/client/components/avatar.vue rename to src/client/components/global/avatar.vue index d90607bb8a..1cfead919d 100644 --- a/src/client/components/avatar.vue +++ b/src/client/components/global/avatar.vue @@ -11,7 +11,7 @@ import { defineComponent } from 'vue'; import { getStaticImageUrl } from '@/scripts/get-static-image-url'; import { extractAvgColorFromBlurhash } from '@/scripts/extract-avg-color-from-blurhash'; -import { acct, userPage } from '../filters/user'; +import { acct, userPage } from '@/filters/user'; export default defineComponent({ props: { diff --git a/src/client/components/ellipsis.vue b/src/client/components/global/ellipsis.vue similarity index 100% rename from src/client/components/ellipsis.vue rename to src/client/components/global/ellipsis.vue diff --git a/src/client/components/emoji.vue b/src/client/components/global/emoji.vue similarity index 97% rename from src/client/components/emoji.vue rename to src/client/components/global/emoji.vue index b2bf7f0169..e93cdb6f3b 100644 --- a/src/client/components/emoji.vue +++ b/src/client/components/global/emoji.vue @@ -8,7 +8,7 @@