vue3-yuanma/packages/renderer-test/src/index.ts
2018-10-01 17:22:49 -04:00

16 lines
424 B
TypeScript

import { createRenderer, VNode } from '@vue/core'
import { nodeOps, TestElement } from './nodeOps'
import { patchData } from './patchData'
const { render: _render } = createRenderer({
nodeOps,
patchData
})
type publicRender = (node: VNode | null, container: TestElement) => void
export const render = _render as publicRender
export { serialize } from './serialize'
export * from './nodeOps'
export * from '@vue/core'