fix: use declare module 'vue' instead of @vue/runtime-core (#13067)
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ export declare const Lazyload: {
|
|||||||
install(app: App, options?: LazyloadOptions): void;
|
install(app: App, options?: LazyloadOptions): void;
|
||||||
};
|
};
|
||||||
|
|
||||||
declare module '@vue/runtime-core' {
|
declare module 'vue' {
|
||||||
interface ComponentCustomProperties {
|
interface ComponentCustomProperties {
|
||||||
$Lazyload: {
|
$Lazyload: {
|
||||||
$on: (event: string, handler: Callback) => void;
|
$on: (event: string, handler: Callback) => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user