Skip to content

Commit

Permalink
fix: use declare module 'vue' instead of @vue/runtime-core (#13067)
Browse files Browse the repository at this point in the history
  • Loading branch information
skywalker512 authored Aug 17, 2024
1 parent eef8e0b commit 2bc831a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vant/src/lazyload/vue-lazyload/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2bc831a

Please sign in to comment.