chore: replace some type casts and fix variable and filename typos (#93)
This commit is contained in:
committed by
Evan You
parent
23ff681418
commit
fbabae0c0a
@@ -76,7 +76,7 @@ export const transformIf = createStructuralDirectiveTransform(
|
||||
// locate the adjacent v-if
|
||||
const siblings = context.parent!.children
|
||||
const comments = []
|
||||
let i = siblings.indexOf(node as any)
|
||||
let i = siblings.indexOf(node)
|
||||
while (i-- >= -1) {
|
||||
const sibling = siblings[i]
|
||||
if (__DEV__ && sibling && sibling.type === NodeTypes.COMMENT) {
|
||||
|
||||
Reference in New Issue
Block a user