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

10 lines
492 B
TypeScript

import { type ElementNode, type Property, type TemplateLiteral } from '@vue/compiler-core';
import { type NodeTransform, type TransformContext } from '../transform';
export interface DirectiveTransformResult {
props: Property[];
needRuntime?: boolean | symbol;
ssrTagParts?: TemplateLiteral['elements'];
}
export declare const transformElement: NodeTransform;
export declare function processProps(node: ElementNode, context: TransformContext, props?: ElementNode['props']): void;