@@ -13,8 +13,8 @@ const componentCache = new Set()
13
13
/**
14
14
* Customize how Svelte renders the component.
15
15
*
16
- * @template {import('./component- types.js').Component} C
17
- * @typedef {import('./component- types.js').Props<C> | Partial<import('./component- types.js').MountOptions<C>> } SvelteComponentOptions
16
+ * @template {import('./core/ types.js').Component} C
17
+ * @typedef {import('./core/ types.js').Props<C> | Partial<import('./core/ types.js').MountOptions<C>> } SvelteComponentOptions
18
18
*/
19
19
20
20
/**
@@ -30,15 +30,15 @@ const componentCache = new Set()
30
30
/**
31
31
* The rendered component and bound testing functions.
32
32
*
33
- * @template {import('./component- types.js').Component} C
33
+ * @template {import('./core/ types.js').Component} C
34
34
* @template {import('@testing-library/dom').Queries } [Q=typeof import('@testing-library/dom').queries]
35
35
*
36
36
* @typedef {{
37
37
* container: HTMLElement
38
38
* baseElement: HTMLElement
39
- * component: import('./component- types.js').Exports<C>
39
+ * component: import('./core/ types.js').Exports<C>
40
40
* debug: (el?: HTMLElement | DocumentFragment) => void
41
- * rerender: (props: Partial<import('./component- types.js').Props<C>>) => Promise<void>
41
+ * rerender: (props: Partial<import('./core/ types.js').Props<C>>) => Promise<void>
42
42
* unmount: () => void
43
43
* } & {
44
44
* [P in keyof Q]: import('@testing -library/dom').BoundFunction<Q[P]>
@@ -48,10 +48,10 @@ const componentCache = new Set()
48
48
/**
49
49
* Render a component into the document.
50
50
*
51
- * @template {import('./component- types.js').Component} C
51
+ * @template {import('./core/ types.js').Component} C
52
52
* @template {import('@testing-library/dom').Queries } [Q=typeof import('@testing-library/dom').queries]
53
53
*
54
- * @param {import('./component- types.js').ComponentType<C> } Component - The component to render.
54
+ * @param {import('./core/ types.js').ComponentType<C> } Component - The component to render.
55
55
* @param {SvelteComponentOptions<C> } options - Customize how Svelte renders the component.
56
56
* @param {RenderOptions<Q> } renderOptions - Customize how Testing Library sets up the document and binds queries.
57
57
* @returns {RenderResult<C, Q> } The rendered component and bound testing functions.
0 commit comments