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 { VanComponent } from './component';
export type NotifyMessage = string | number;
@@ -16,7 +15,7 @@ export type NotifyOptions = {
onClick?: ((event: Event) => void) | null;
};
export interface VanNotify extends Vue {
export interface VanNotify {
message: NotifyMessage;
color: string;
background: string;