chore: remove isSelfClosing property

This commit is contained in:
Evan You 2023-11-25 18:03:22 +08:00
parent ceec69c8cc
commit be6cae7dac
3 changed files with 0 additions and 3 deletions

View File

@ -56,7 +56,6 @@ export function createElementWithCodegen(
ns: Namespaces.HTML,
tag: 'div',
tagType: ElementTypes.ELEMENT,
isSelfClosing: false,
props: [],
children: [],
codegenNode: {

View File

@ -130,7 +130,6 @@ export interface BaseElementNode extends Node {
tagType: ElementTypes
props: Array<AttributeNode | DirectiveNode>
children: TemplateChildNode[]
isSelfClosing?: boolean
}
export interface PlainElementNode extends BaseElementNode {

View File

@ -322,7 +322,6 @@ function createVNodeSlotBranch(
ns: Namespaces.HTML,
tag: 'template',
tagType: ElementTypes.TEMPLATE,
isSelfClosing: false,
props: wrapperProps,
children,
loc: locStub,