EASYAIuniappNewUI/node_modules/@dcloudio/uni-mp-compiler/dist/transforms/transformRef.d.ts
2025-02-08 18:50:38 +08:00

9 lines
574 B
TypeScript

import { type AttributeNode, type DirectiveNode, type ElementNode } from '@vue/compiler-core';
import type { TransformContext } from '../transform';
export declare function rewriteRef(node: ElementNode, context: TransformContext): void;
export declare function parseRefCode(prop: AttributeNode | DirectiveNode, context: TransformContext): {
code: string;
refKey: string;
};
export declare function rewriteRefProp(helper: symbol, prop: AttributeNode | DirectiveNode, idProp: AttributeNode | DirectiveNode, opts: Record<string, any>, context: TransformContext): void;