From 2bc831a1c89e39faf90cd96d53edf5de3336d451 Mon Sep 17 00:00:00 2001 From: Skywalker512 Date: Sat, 17 Aug 2024 10:10:07 +0800 Subject: [PATCH] fix: use declare module 'vue' instead of @vue/runtime-core (#13067) --- packages/vant/src/lazyload/vue-lazyload/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/src/lazyload/vue-lazyload/index.d.ts b/packages/vant/src/lazyload/vue-lazyload/index.d.ts index d607bad3a..abe469210 100644 --- a/packages/vant/src/lazyload/vue-lazyload/index.d.ts +++ b/packages/vant/src/lazyload/vue-lazyload/index.d.ts @@ -44,7 +44,7 @@ export declare const Lazyload: { install(app: App, options?: LazyloadOptions): void; }; -declare module '@vue/runtime-core' { +declare module 'vue' { interface ComponentCustomProperties { $Lazyload: { $on: (event: string, handler: Callback) => void;