@vue/test-utils
Version:
14 lines (13 loc) • 822 B
TypeScript
/**
* Renders its default slot content in place, without teleporting it to
* a target element.
*
* Use it to opt in to a Teleport replacement that behaves closer to the
* real component: `global: { stubs: { Teleport: TeleportStub } }`.
* Unlike the default teleport stub, child components rendered inside
* `TeleportStub` are not unmounted and remounted when the parent
* re-renders.
*/
export declare const TeleportStub: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[] | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;