Skip to content

Commit

Permalink
Inline the deprecated React.ReactChild type
Browse files Browse the repository at this point in the history
  - This change was made by running `npx types-react-codemod deprecated-react-child .` in preparation for React 19.
  • Loading branch information
aryaemami59 committed May 1, 2024
1 parent e46eb99 commit 9eb1cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/query/react/kitchen-sink/src/mocks/setupTests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const setupTests = () => {
path?: string
}
function renderWithProvider(
children: React.ReactChild,
children: React.ReactElement | number | string,
{ route, path }: RenderOptions = { route: '/', path: '' },
) {
const history = createMemoryHistory()
Expand Down

0 comments on commit 9eb1cf2

Please sign in to comment.