Skip to content

Commit 02f897a

Browse files
committed
chore: fix flow
1 parent d2902ca commit 02f897a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/vdom/create-functional-component.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ export function FunctionalRenderContext (
5151
this.injections = resolveInject(options.inject, parent)
5252
this.slots = () => resolveSlots(children, parent)
5353

54-
Object.defineProperty(this, 'scopedSlots', {
54+
Object.defineProperty(this, 'scopedSlots', ({
5555
enumerable: true,
5656
get () {
5757
return normalizeScopedSlots(data.scopedSlots, this.slots())
5858
}
59-
})
59+
}: any))
6060

6161
// support for compiled functional template
6262
if (isCompiled) {

0 commit comments

Comments
 (0)