wip(ssr): renderer support for optimized and manual slots

This commit is contained in:
Evan You
2020-01-28 22:58:02 -05:00
parent a7b0954f14
commit 6b1ce00621
9 changed files with 86 additions and 37 deletions

View File

@@ -12,7 +12,7 @@ import {
TestElement,
TestNode
} from '@vue/runtime-test'
import { VNodeChildren } from '../src/vnode'
import { VNodeArrayChildren } from '../src/vnode'
describe('renderer: portal', () => {
test('should work', () => {
@@ -60,7 +60,7 @@ describe('renderer: portal', () => {
test('should update children', async () => {
const target = nodeOps.createElement('div')
const root = nodeOps.createElement('div')
const children = ref<VNodeChildren<TestNode, TestElement>>([
const children = ref<VNodeArrayChildren<TestNode, TestElement>>([
h('div', 'teleported')
])