Skip to content

Commit

Permalink
chore: fix test type
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 4, 2020
1 parent 8cf6b57 commit a9f3cad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/compiler-core/__tests__/transforms/vFor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
ElementNode,
InterpolationNode,
CallExpression,
SequenceExpression
SequenceExpression,
ForCodegenNode
} from '../../src/ast'
import { ErrorCodes } from '../../src/errors'
import { CompilerOptions, generate } from '../../src'
Expand Down Expand Up @@ -48,7 +49,7 @@ function parseWithForTransform(
})
return {
root: ast,
node: ast.children[0] as ForNode
node: ast.children[0] as ForNode & { codegenNode: ForCodegenNode }
}
}

Expand Down

0 comments on commit a9f3cad

Please sign in to comment.