wip: element transforms

This commit is contained in:
Evan You
2019-09-21 15:47:26 -04:00
parent b275f8697d
commit 93440bba97
18 changed files with 158 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ export interface TransformOptions {
onError?: (error: CompilerError) => void
}
interface TransformContext {
export interface TransformContext {
transforms: Transform[]
emitError: (error: CompilerError) => void
parent: ParentNode