We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d4943 commit a0c4b96Copy full SHA for a0c4b96
src/pure.ts
@@ -7,7 +7,7 @@ export { config } from '@vue/test-utils'
7
8
const { debug, getElementLocatorSelectors } = utils
9
10
-type ComponentProps<T> = T extends new (...angs: any) => {
+type ComponentProps<T> = T extends new (...args: any) => {
11
$props: infer P
12
// eslint-disable-next-line ts/no-empty-object-type
13
} ? NonNullable<P> : T extends (props: infer P, ...args: any) => any ? P : {}
0 commit comments