From 19ed8a2dc5cee1dc770e7fce6bb6e10ff84c773a Mon Sep 17 00:00:00 2001 From: Ragura Date: Mon, 24 Jan 2022 12:46:32 +0100 Subject: [PATCH] fix: declare vue component type (#8) --- src/shims.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/shims.d.ts diff --git a/src/shims.d.ts b/src/shims.d.ts new file mode 100644 index 00000000..2b97bd96 --- /dev/null +++ b/src/shims.d.ts @@ -0,0 +1,5 @@ +declare module '*.vue' { + import type { DefineComponent } from 'vue' + const component: DefineComponent<{}, {}, any> + export default component +}