Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlangford committed May 3, 2024
1 parent 3de594c commit 3217c71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/testUtils/testItRenders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export type ItRendersOptions<TProps> = {
renderFn?: RenderFn;
};

function testItRenders<
TProps extends JSX.IntrinsicAttributes = JSX.IntrinsicAttributes,
>(options: ItRendersOptions<TProps> | (() => ItRendersOptions<TProps>)) {
function testItRenders<TProps extends UnknownObject = UnknownObject>(
options: ItRendersOptions<TProps> | (() => ItRendersOptions<TProps>),
) {
const {
Component,
props,
Expand Down

0 comments on commit 3217c71

Please sign in to comment.