Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/mount.ts
Original file line number Diff line number Diff line change
@@ -19,11 +19,11 @@ import {
AllowedComponentProps,
ComponentCustomProps,
ExtractDefaultPropTypes,
Component,
VNode
VNode,
EmitsOptions,
ComputedOptions
} from 'vue'

import { config } from './config'
import { MountingOptions, Slot } from './types'
import {
isFunctionalComponent,
@@ -42,16 +42,6 @@ import { createStub, stubComponents } from './stubs'
// NOTE this should come from `vue`
type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps

export type ComputedOptions = Record<
string,
((ctx?: any) => any) | WritableComputedOptions<any>
>
export type ObjectEmitsOptions = Record<
string,
((...args: any[]) => any) | null
>
export type EmitsOptions = ObjectEmitsOptions | string[]

// Class component - no props
export function mount<V>(
originalComponent: {

0 comments on commit effcdc1

Please sign in to comment.