From 62cf9d381a697b6205103b9520b45dc9892a64ed Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Thu, 19 Sep 2024 08:39:22 +0530 Subject: [PATCH] fix: move shims to client so other deps don't need to manually declare them --- client.d.ts | 5 +++++ lib/shim.d.ts | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 lib/shim.d.ts diff --git a/client.d.ts b/client.d.ts index 8fb0831d..131b0cb2 100644 --- a/client.d.ts +++ b/client.d.ts @@ -2,3 +2,8 @@ /// // this file contains public types which are exposed to external modules + +declare module 'v-calendar' { + export * from 'v-calendar/dist/types/src/index.d.ts' + export { default } from 'v-calendar/dist/types/src/index.d.ts' +} diff --git a/lib/shim.d.ts b/lib/shim.d.ts deleted file mode 100644 index d7286fc0..00000000 --- a/lib/shim.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare module 'v-calendar' { - import { DefineComponent } from 'vue' - export const DatePicker: DefineComponent<{}, {}, any> -}