diff --git a/src/compiler/codegen/index.ts b/src/compiler/codegen/index.ts index 5992859eba1..e3d5935b8d6 100644 --- a/src/compiler/codegen/index.ts +++ b/src/compiler/codegen/index.ts @@ -13,7 +13,7 @@ import { ASTText, CompilerOptions } from 'types/compiler' -import { BindingMetadata } from 'sfc/types' +import { BindingMetadata, BindingTypes } from 'sfc/types' type TransformFunction = (el: ASTElement, code: string) => string type DataGenFunction = (el: ASTElement) => string @@ -104,10 +104,7 @@ export function genElement(el: ASTElement, state: CodegenState): string { // check if this is a component in