Skip to content

Commit 9eb1cf2

Browse files
committed
Inline the deprecated React.ReactChild type
- This change was made by running `npx types-react-codemod deprecated-react-child .` in preparation for React 19.
1 parent e46eb99 commit 9eb1cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/query/react/kitchen-sink/src/mocks/setupTests.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const setupTests = () => {
2323
path?: string
2424
}
2525
function renderWithProvider(
26-
children: React.ReactChild,
26+
children: React.ReactElement | number | string,
2727
{ route, path }: RenderOptions = { route: '/', path: '' },
2828
) {
2929
const history = createMemoryHistory()

0 commit comments

Comments
 (0)