30 lines
823 B
TypeScript
30 lines
823 B
TypeScript
|
// render api
|
||
|
export { h, Fragment, Portal } from './h'
|
||
|
export { cloneVNode, createPortal, createFragment } from './vdom'
|
||
|
export { createRenderer } from './createRenderer'
|
||
|
|
||
|
import { Component as InternalComponent, ComponentClass } from './component'
|
||
|
|
||
|
// the public component constructor with proper type inference.
|
||
|
export const Component = InternalComponent as ComponentClass
|
||
|
|
||
|
// observer api
|
||
|
export {
|
||
|
autorun,
|
||
|
stop,
|
||
|
observable,
|
||
|
immutable,
|
||
|
computed,
|
||
|
isObservable,
|
||
|
isImmutable,
|
||
|
markImmutable,
|
||
|
markNonReactive,
|
||
|
unwrap
|
||
|
} from '@vue/observer'
|
||
|
|
||
|
// flags & types
|
||
|
export { FunctionalComponent } from './component'
|
||
|
export { ComponentOptions, PropType } from './componentOptions'
|
||
|
export { VNodeFlags, ChildrenFlags } from './flags'
|
||
|
export { VNode, VNodeData, VNodeChildren, Key, Ref, Slots, Slot } from './vdom'
|