Skip to content

Commit b17216a

Browse files
committed
fix(volar): support TSNonNullExpression
1 parent ffb1597 commit b17216a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/volar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ function transformReactivityFunction(options: {
7979
enter(node, parent) {
8080
let tsNonNullExpressionEnd = 0
8181
if (node.type === 'TSNonNullExpression') {
82-
node = node.expression
8382
tsNonNullExpressionEnd = node.end
83+
node = node.expression
8484
}
8585

8686
if (node.type === 'CallExpression') {

0 commit comments

Comments
 (0)