Function transformVNodeArgs transformVNode Args ( transformer ? ) : void Parameters Optional
transformer : ( ( args : [ type: VNodeTypes | ClassComponent | typeof NULL_DYNAMIC_COMPONENT , props?: null | Data & VNodeProps , children?: unknown , patchFlag?: number , dynamicProps?: null | string [] , isBlockNode?: boolean ] , instance : null | ComponentInternalInstance ) => [ type: VNodeTypes | ClassComponent | typeof NULL_DYNAMIC_COMPONENT , props?: null | Data & VNodeProps , children?: unknown , patchFlag?: number , dynamicProps?: null | string [] , isBlockNode?: boolean ] ) ( args , instance ) : [ type: VNodeTypes | ClassComponent | typeof NULL_DYNAMIC_COMPONENT , props?: null | Data & VNodeProps , children?: unknown , patchFlag?: number , dynamicProps?: null | string [] , isBlockNode?: boolean ] Parameters args : [ type: VNodeTypes | ClassComponent | typeof NULL_DYNAMIC_COMPONENT , props?: null | Data & VNodeProps , children?: unknown , patchFlag?: number , dynamicProps?: null | string [] , isBlockNode?: boolean ] instance : null | ComponentInternalInstance Returns [ type: VNodeTypes | ClassComponent | typeof NULL_DYNAMIC_COMPONENT , props?: null | Data & VNodeProps , children?: unknown , patchFlag?: number , dynamicProps?: null | string [] , isBlockNode?: boolean ] Returns void Defined in node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1004
Internal API for registering an arguments transform for createVNode used for creating stubs in the test-utils It is internal but needs to be exposed for test-utils to pick up proper typings