Skip to content

Commit

Permalink
chore(compiler-vapor): fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Nov 13, 2024
1 parent 39f85ec commit f85ac40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-vapor/src/transforms/transformElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export function buildProps(
node: ElementNode,
context: TransformContext<ElementNode>,
isComponent: boolean,
isDynamicComponent: boolean,
isDynamicComponent?: boolean,
): PropsResult {
const props = node.props as (VaporDirectiveNode | AttributeNode)[]
if (props.length === 0) return [false, []]
Expand Down

0 comments on commit f85ac40

Please sign in to comment.