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 1510e80 commit a7535ebCopy full SHA for a7535eb
types/index.d.ts
@@ -70,7 +70,7 @@ export interface RenderOptions<
70
*
71
* @see https://testing-library.com/docs/react-testing-library/api/#wrapper
72
*/
73
- wrapper?: React.ComponentType<{children: React.ReactElement}>
+ wrapper?: React.JSXElementConstructor<{children: React.ReactElement}>
74
}
75
76
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
0 commit comments