types: reduce any (#8256)

This commit is contained in:
neverland
2021-03-03 17:46:00 +08:00
committed by GitHub
parent d606b32c64
commit 1dc1b708f0
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { App, TeleportProps } from 'vue';
import { App, Plugin, TeleportProps } from 'vue';
import { ComponentInstance, inBrowser } from '../utils';
import { mountComponent, usePopupState } from '../utils/mount-component';
import { Interceptor } from '../utils/interceptor';
@@ -96,7 +96,7 @@ const ImagePreview = (
ImagePreview.Component = VanImagePreview;
ImagePreview.install = (app: App) => {
app.use(VanImagePreview as any);
app.use((VanImagePreview as unknown) as Plugin);
};
export default ImagePreview;