chore: fix flow

This commit is contained in:
Evan You 2019-01-09 17:41:37 -05:00
parent d2902ca8ec
commit 02f897a4bc

View File

@ -51,12 +51,12 @@ export function FunctionalRenderContext (
this.injections = resolveInject(options.inject, parent)
this.slots = () => resolveSlots(children, parent)
Object.defineProperty(this, 'scopedSlots', {
Object.defineProperty(this, 'scopedSlots', ({
enumerable: true,
get () {
return normalizeScopedSlots(data.scopedSlots, this.slots())
}
})
}: any))
// support for compiled functional template
if (isCompiled) {