jialh
2025-01-07 bb59b053247ef82969b64979260e2478bd732e1f
1
2
3
import { NodeTypes, RootNode, TemplateChildNode, TransformContext } from '@vue/compiler-core';
import { COMPONENT_BIND_LINK, COMPONENT_ON_LINK } from '../../mp/constants';
export declare function createTransformComponentLink(name: typeof COMPONENT_BIND_LINK | typeof COMPONENT_ON_LINK, type?: NodeTypes.ATTRIBUTE | NodeTypes.DIRECTIVE): (node: RootNode | TemplateChildNode, context: TransformContext) => void;