import * as V from './index' import { DefaultData, DefaultProps, DefaultMethods, DefaultComputed, PropsDefinition } from './options' // Expose some types for backward compatibility... declare namespace Vue { // vue.d.ts export type CreateElement = V.CreateElement export type VueConstructor = V.VueConstructor // options.d.ts export type Component< Data = DefaultData, Methods = DefaultMethods, Computed = DefaultComputed, Props = DefaultProps > = V.Component export type AsyncComponent< Data = DefaultData, Methods = DefaultMethods, Computed = DefaultComputed, Props = DefaultProps > = V.AsyncComponent export type ComponentOptions< V extends Vue, Data = DefaultData, Methods = DefaultMethods, Computed = DefaultComputed, PropsDef = PropsDefinition, Props = DefaultProps > = V.ComponentOptions export type FunctionalComponentOptions< Props = DefaultProps, PropDefs = PropsDefinition > = V.FunctionalComponentOptions export type RenderContext = V.RenderContext export type PropType = V.PropType export type PropOptions = V.PropOptions export type ComputedOptions = V.ComputedOptions export type WatchHandler = V.WatchHandler export type WatchOptions = V.WatchOptions export type WatchOptionsWithHandler = V.WatchOptionsWithHandler export type DirectiveFunction = V.DirectiveFunction export type DirectiveOptions = V.DirectiveOptions // plugin.d.ts export type PluginFunction = V.PluginFunction export type PluginObject = V.PluginObject // vnode.d.ts export type VNodeChildren = V.VNodeChildren export type VNodeChildrenArrayContents = V.VNodeChildrenArrayContents export type VNode = V.VNode export type VNodeComponentOptions = V.VNodeComponentOptions export type VNodeData = V.VNodeData export type VNodeDirective = V.VNodeDirective } declare class Vue extends V.default {} export = Vue export as namespace Vue