inertia
inertia copied to clipboard
Issue #1325: Fix error missing children props in InertiaHeadProps type for Head component
For this issue the problem I raised here #1325,
I patch it by adding ReactNode and ReactNode[] types to the InertiaHeadProps type of the source code at the index.d.ts file.
Note: I was see the PR https://github.com/inertiajs/inertia/pull/1315 of another contributor but it's missing ReactNode[] types for passing array elements to children. In many cases, we need to passing one or many element to children props.