vue/types/index.d.ts
2022-06-01 22:12:02 +08:00

68 lines
1.4 KiB
TypeScript

import { Vue } from './vue'
import './umd'
export default Vue
export { CreateElement, VueConstructor } from './vue'
export {
Component,
AsyncComponent,
ComponentOptions,
FunctionalComponentOptions,
RenderContext,
PropType,
PropOptions,
ComputedOptions,
WatchHandler,
WatchOptions,
WatchOptionsWithHandler,
DirectiveFunction,
DirectiveOptions
} from './options'
export { PluginFunction, PluginObject } from './plugin'
export {
VNodeChildren,
VNodeChildrenArrayContents,
VNode,
VNodeComponentOptions,
VNodeData,
VNodeDirective
} from './vnode'
export * from './v3-manual-apis'
export * from './v3-generated'
export { Data } from './common'
export { SetupContext } from './v3-setup-context'
export { defineComponent } from './v3-define-component'
// export { defineAsyncComponent } from './defineAsyncComponent'
export {
SetupFunction,
// v2 already has option with same name and it's for a single computed
ComputedOptions as ComponentComputedOptions,
MethodOptions as ComponentMethodOptions,
ComponentPropsOptions
} from './v3-component-options'
export {
ComponentInstance,
ComponentPublicInstance,
ComponentRenderProxy
} from './v3-component-proxy'
export {
// PropType,
// PropOptions,
ExtractPropTypes,
ExtractDefaultPropTypes
} from './v3-component-props'
export {
DirectiveModifiers,
DirectiveBinding,
DirectiveHook,
ObjectDirective,
FunctionDirective,
Directive
} from './v3-directive'