We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee95f8 commit ba5ec54Copy full SHA for ba5ec54
flow/compiler.js
@@ -31,7 +31,9 @@ declare type CompiledFunctionResult = {
31
}
32
33
declare type ModuleOptions = {
34
+ preTransformNode: (el: ASTElement) => void;
35
transformNode: (el: ASTElement) => void; // transform an element's AST node
36
+ postTransformNode: (el: ASTElement) => void;
37
genData: (el: ASTElement) => string; // generate extra data string for an element
38
transformCode?: (el: ASTElement, code: string) => string; // further transform generated code for an element
39
staticKeys?: Array<string>; // AST properties to be considered static
0 commit comments