Skip to content

Commit 4f61d5b

Browse files
committed
chore: fix flow
1 parent bc97ff9 commit 4f61d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/codegen/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class CodegenState {
2727
this.dataGenFns = pluckModuleFunction(options.modules, 'genData')
2828
this.directives = extend(extend({}, baseDirectives), options.directives)
2929
const isReservedTag = options.isReservedTag || no
30-
this.maybeComponent = (el: ASTElement) => el.component || !isReservedTag(el.tag)
30+
this.maybeComponent = (el: ASTElement) => !!el.component || !isReservedTag(el.tag)
3131
this.onceId = 0
3232
this.staticRenderFns = []
3333
this.pre = false

0 commit comments

Comments
 (0)