Vue released a library (https://www.npmjs.com/package/vue-component-type-helpers) with some type helpers like ComponentProps<typeof Component>, ComponentSlots<typeof Component> and ComponentEmits<typeof Component> which could make the render options type safe.
Vue released a library (https://www.npmjs.com/package/vue-component-type-helpers) with some type helpers like
ComponentProps<typeof Component>
,ComponentSlots<typeof Component>
andComponentEmits<typeof Component>
which could make the render options type safe.VTU also recently integrated this library: https://github.com/vuejs/test-utils/blob/main/test-dts/mount.d-test.ts#L60.
related to: https://github.com/testing-library/vue-testing-library/issues/228 and https://github.com/microsoft/playwright/pull/23151