index.d.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. import { Vue } from './vue'
  2. import './umd'
  3. export default Vue
  4. export { CreateElement, VueConstructor } from './vue'
  5. export {
  6. Component,
  7. AsyncComponent,
  8. ComponentOptions,
  9. FunctionalComponentOptions,
  10. RenderContext,
  11. PropType,
  12. PropOptions,
  13. ComputedOptions,
  14. WatchHandler,
  15. WatchOptions,
  16. WatchOptionsWithHandler,
  17. DirectiveFunction,
  18. DirectiveOptions
  19. } from './options'
  20. export { PluginFunction, PluginObject } from './plugin'
  21. export {
  22. VNodeChildren,
  23. VNodeChildrenArrayContents,
  24. VNode,
  25. VNodeComponentOptions,
  26. VNodeData,
  27. VNodeDirective
  28. } from './vnode'
  29. export * from './v3-manual-apis'
  30. export * from './v3-generated'
  31. export { Data } from './common'
  32. export { SetupContext } from './v3-setup-context'
  33. export { defineComponent } from './v3-define-component'
  34. // export { defineAsyncComponent } from './defineAsyncComponent'
  35. export {
  36. SetupFunction,
  37. // v2 already has option with same name and it's for a single computed
  38. ComputedOptions as ComponentComputedOptions,
  39. MethodOptions as ComponentMethodOptions,
  40. ComponentPropsOptions
  41. } from './v3-component-options'
  42. export {
  43. ComponentInstance,
  44. ComponentPublicInstance,
  45. ComponentRenderProxy
  46. } from './v3-component-proxy'
  47. export {
  48. // PropType,
  49. // PropOptions,
  50. ExtractPropTypes,
  51. ExtractDefaultPropTypes
  52. } from './v3-component-props'
  53. export {
  54. DirectiveModifiers,
  55. DirectiveBinding,
  56. DirectiveHook,
  57. ObjectDirective,
  58. FunctionDirective,
  59. Directive
  60. } from './v3-directive'