|
|
@@ -52,12 +52,12 @@ export const transformBind: DirectiveTransform = (dir, _node, context) => {
|
|
|
) {
|
|
|
context.onError(createCompilerError(ErrorCodes.X_V_BIND_NO_EXPRESSION, loc))
|
|
|
return {
|
|
|
- props: [createObjectProperty(arg!, createSimpleExpression('', true, loc))]
|
|
|
+ props: [createObjectProperty(arg, createSimpleExpression('', true, loc))]
|
|
|
}
|
|
|
}
|
|
|
|
|
|
return {
|
|
|
- props: [createObjectProperty(arg!, exp)]
|
|
|
+ props: [createObjectProperty(arg, exp)]
|
|
|
}
|
|
|
}
|
|
|
|