Initial commit

This commit is contained in:
jiapengyu
2026-07-27 13:37:48 +08:00
commit ecba71e2a5
39123 changed files with 5989154 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { type DirectiveNode, type ElementNode, type IfNode } from '@vue/compiler-core';
import { type NodeTransform, type TransformContext } from '../transform';
interface IfOptions {
name: string;
condition?: string;
}
export type IfElementNode = ElementNode & {
vIf: IfOptions;
};
export declare function isIfElementNode(node: unknown): node is IfElementNode;
export declare const transformIf: NodeTransform;
export declare function processIf(node: ElementNode, dir: DirectiveNode, context: TransformContext, processCodegen?: (node: IfNode, branch: IfElementNode, isRoot: boolean) => (() => void) | undefined): (() => void) | undefined;
export {};