index.d.ts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. import { Vue } from './vue'
  2. import './umd'
  3. import './jsx'
  4. export * from './jsx'
  5. export default Vue
  6. export { CreateElement, VueConstructor } from './vue'
  7. export {
  8. Component,
  9. AsyncComponent,
  10. ComponentOptions,
  11. FunctionalComponentOptions,
  12. RenderContext,
  13. PropType,
  14. PropOptions,
  15. ComputedOptions,
  16. WatchHandler,
  17. WatchOptions,
  18. WatchOptionsWithHandler,
  19. DirectiveFunction,
  20. DirectiveOptions
  21. } from './options'
  22. export { PluginFunction, PluginObject } from './plugin'
  23. export {
  24. VNodeChildren,
  25. VNodeChildrenArrayContents,
  26. VNode,
  27. VNodeComponentOptions,
  28. VNodeData,
  29. VNodeDirective,
  30. ComponentCustomProps
  31. } from './vnode'
  32. export * from './v3-manual-apis'
  33. export * from './v3-generated'
  34. // <script setup> helpers
  35. export * from './v3-setup-helpers'
  36. export { Data } from './common'
  37. export { SetupContext } from './v3-setup-context'
  38. export { defineComponent, DefineComponent } from './v3-define-component'
  39. export { defineAsyncComponent } from './v3-define-async-component'
  40. export {
  41. SetupFunction,
  42. // v2 already has option with same name and it's for a single computed
  43. ComputedOptions as ComponentComputedOptions,
  44. MethodOptions as ComponentMethodOptions,
  45. ComponentPropsOptions,
  46. ComponentCustomOptions,
  47. ComponentOptionsMixin,
  48. ComponentOptionsWithoutProps,
  49. ComponentOptionsWithArrayProps,
  50. ComponentOptionsWithProps,
  51. ComponentOptionsBase
  52. } from './v3-component-options'
  53. export {
  54. ComponentInstance,
  55. ComponentPublicInstance,
  56. CreateComponentPublicInstance,
  57. ComponentCustomProperties
  58. } from './v3-component-public-instance'
  59. export {
  60. // PropType,
  61. // PropOptions,
  62. ExtractPropTypes,
  63. ExtractDefaultPropTypes
  64. } from './v3-component-props'
  65. export {
  66. DirectiveModifiers,
  67. DirectiveBinding,
  68. DirectiveHook,
  69. ObjectDirective,
  70. FunctionDirective,
  71. Directive
  72. } from './v3-directive'
  73. export * from './built-in-components'