feat(compiler): basic codegen with source map support

This commit is contained in:
Evan You
2019-09-19 23:05:51 -04:00
parent 98571ab496
commit 9b1a548c6b
15 changed files with 235 additions and 41 deletions

View File

@@ -22,7 +22,7 @@ export interface TransformOptions {
onError?: (error: CompilerError) => void
}
export interface TransformContext extends Required<TransformOptions> {
interface TransformContext extends Required<TransformOptions> {
parent: ParentNode
ancestors: ParentNode[]
childIndex: number