From 0eb1f4457f2908e407b82c212432958f69896fb7 Mon Sep 17 00:00:00 2001 From: cuixiaorui Date: Fri, 10 Jul 2020 20:50:24 +0800 Subject: [PATCH] chore: remove ComponentOptionsMixin --- src/mount.ts | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/mount.ts b/src/mount.ts index 59f32ec5e..9bde0ce9c 100644 --- a/src/mount.ts +++ b/src/mount.ts @@ -17,7 +17,8 @@ import { ComponentOptionsBase, ComponentPropsOptions, AppConfig, - VNodeProps + VNodeProps, + ComponentOptionsMixin } from 'vue' import { config } from './config' @@ -34,17 +35,6 @@ import { } from './constants' import { stubComponents } from './stubs' -// TODO remove when https://github.com/vuejs/vue-next/pull/1361 is merged -type ComponentOptionsMixin = ComponentOptionsBase< - any, - any, - any, - any, - any, - any, - any, - any -> type Slot = VNode | string | { render: Function } | Function type SlotDictionary = {