wip: expression rewrite
This commit is contained in:
@@ -24,7 +24,7 @@ export const transformIf = createStructuralDirectiveTransform(
|
||||
// locate the adjacent v-if
|
||||
const siblings = context.parent.children
|
||||
const comments = []
|
||||
let i = siblings.indexOf(node)
|
||||
let i = siblings.indexOf(node as any)
|
||||
while (i-- >= -1) {
|
||||
const sibling = siblings[i]
|
||||
if (__DEV__ && sibling && sibling.type === NodeTypes.COMMENT) {
|
||||
|
||||
Reference in New Issue
Block a user