inertia
inertia copied to clipboard
Type error: InertiaHeadProps
The problem:
The typings for the type InertiaHeadProps
only lists an optional 'title', but they should also list an optional 'children' propertly
This would stop Typescript from complaining with the following valid syntax:
<Head>
<title>My app</title>
<meta head-key="description" name="description" content="This is the default description" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
</Head>
duplicate of #1253
@claudiodekker there's 3 pull requests to address this issue with #1315 being the most up to date. Let me know if there's anything I can do to help get this merged in.
Hey! Thanks so much for your interest in Inertia.js and for sharing this issue/suggestion.
In an attempt to get on top of the issues and pull requests on this project I am going through all the older issues and PRs and closing them, as there's a decent chance that they have since been resolved or are simply not relevant any longer. My hope is that with a "clean slate" me and the other project maintainers will be able to better keep on top of issues and PRs moving forward.
Of course there's a chance that this issue is still relevant, and if that's the case feel free to simply submit a new issue. The only thing I ask is that you please include a super minimal reproduction of the issue as a Git repo. This makes it much easier for us to reproduce things on our end and ultimately fix it.
Really not trying to be dismissive here, I just need to find a way to get this project back into a state that I am able to maintain it. Hope that makes sense! ❤️