vue/types/index.d.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

74 lines
1.6 KiB
TypeScript
Raw Normal View History

import { Vue } from './vue'
import './umd'
2022-06-09 06:39:18 +00:00
import './jsx'
export default Vue
export { CreateElement, VueConstructor } from './vue'
export {
Component,
AsyncComponent,
ComponentOptions,
FunctionalComponentOptions,
RenderContext,
2022-06-01 14:12:02 +00:00
PropType,
PropOptions,
ComputedOptions,
WatchHandler,
WatchOptions,
WatchOptionsWithHandler,
DirectiveFunction,
DirectiveOptions
} from './options'
export { PluginFunction, PluginObject } from './plugin'
export {
VNodeChildren,
VNodeChildrenArrayContents,
VNode,
VNodeComponentOptions,
VNodeData,
VNodeDirective,
ComponentCustomProps
} from './vnode'
2022-06-01 13:55:33 +00:00
export * from './v3-manual-apis'
2022-05-30 13:36:07 +00:00
export * from './v3-generated'
// <script setup> helpers
export * from './v3-setup-helpers'
2022-06-01 13:55:33 +00:00
export { Data } from './common'
export { SetupContext } from './v3-setup-context'
export { defineComponent, DefineComponent } from './v3-define-component'
export { defineAsyncComponent } from './v3-define-async-component'
2022-06-01 13:55:33 +00:00
export {
SetupFunction,
// v2 already has option with same name and it's for a single computed
ComputedOptions as ComponentComputedOptions,
MethodOptions as ComponentMethodOptions,
ComponentPropsOptions,
ComponentCustomOptions
2022-06-01 13:55:33 +00:00
} from './v3-component-options'
export {
ComponentInstance,
ComponentPublicInstance,
CreateComponentPublicInstance,
ComponentCustomProperties
} from './v3-component-public-instance'
2022-06-01 13:55:33 +00:00
export {
2022-06-01 14:12:02 +00:00
// PropType,
// PropOptions,
2022-06-01 13:55:33 +00:00
ExtractPropTypes,
ExtractDefaultPropTypes
} from './v3-component-props'
export {
DirectiveModifiers,
DirectiveBinding,
DirectiveHook,
ObjectDirective,
FunctionDirective,
Directive
} from './v3-directive'