From 17f3329b857b3e8a674ed33d95feac46d313bb9e Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Mon, 11 Jul 2022 14:17:51 +0200 Subject: [PATCH] Working --- auto-imports.d.ts | 2 +- components.d.ts | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 350c90f..2d19928 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -1,5 +1,5 @@ // Generated by 'unplugin-auto-import' -// We suggest you to commit this file into source control +export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] const afterAll: typeof import('vitest')['afterAll'] diff --git a/components.d.ts b/components.d.ts index 8672dd9..fe3e688 100644 --- a/components.d.ts +++ b/components.d.ts @@ -1,8 +1,11 @@ // generated by unplugin-vue-components // We suggest you to commit this file into source control -// Read more: https://github.com/vuejs/vue-next/pull/3399 +// Read more: https://github.com/vuejs/core/pull/3399 +import '@vue/runtime-core' -declare module 'vue' { +export {} + +declare module '@vue/runtime-core' { export interface GlobalComponents { AboutSection: typeof import('./src/components/AboutSection.vue')['default'] BackToSite: typeof import('./src/components/BackToSite.vue')['default']