File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,11 @@ type Routes = any
4141// eslint-disable-next-line @typescript-eslint/no-explicit-any
4242type Router = any
4343
44- export interface RenderOptions < V extends Vue >
44+ export interface RenderOptions < V extends Vue , S = Store >
4545 // The props and store options special-cased by Vue Testing Library and NOT passed to mount().
4646 extends Omit < ThisTypedMountOptions < V > , 'store' | 'props' > {
4747 props ?: object
48- store ?: Store
48+ store ?: S
4949 routes ?: Routes
5050 container ?: Element
5151 baseElement ?: Element
@@ -61,9 +61,11 @@ export type ConfigurationCallback<V extends Vue> =
6161 // eslint-disable-next-line @typescript-eslint/no-explicit-any
6262 | ( ( localVue : typeof Vue , store : Store , router : Router ) => void )
6363
64- export function render < V extends Vue > (
64+ export function render < V extends Vue , S = Store > (
6565 TestComponent : VueClass < V > | ComponentOptions < V > ,
66- options ?: RenderOptions < V > ,
66+ // eslint-disable-next-line @typescript-eslint/ban-tslint-comment
67+ // tslint:disable-next-line no-unnecessary-generics
68+ options ?: RenderOptions < V , S > ,
6769 configure ?: ConfigurationCallback < V > ,
6870) : RenderResult
6971
You can’t perform that action at this time.
0 commit comments