types: remove extends Vue

This commit is contained in:
chenjiahan
2020-09-01 15:59:50 +08:00
parent 0acbc6ec21
commit c3ad8bf5c4
3 changed files with 2 additions and 15 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
import Vue from 'vue';
import { VanPopupMixin } from './mixins/popup';
type ToastMessage = string | number;
@@ -26,7 +25,7 @@ export type ToastOptions = {
getContainer?: string | (() => Element);
};
export interface VanToast extends Vue, VanPopupMixin {
export interface VanToast extends VanPopupMixin {
type: ToastType;
position: ToastPosition;
loadingType: ToastLoadingType;