fix: use declare module 'vue' instead of @vue/runtime-core (#13067)

This commit is contained in:
Skywalker512
2024-08-17 10:10:07 +08:00
committed by GitHub
parent eef8e0b0de
commit 2bc831a1c8

View File

@@ -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;