Thanks for this amazing monolith, I'ave noticed in onChange={(e) => setData("example", e.target.value)} a warning thrown by the IDE which says the following.
The first arg of setData: Argument type string is not assignable to parameter type keyof TForm Type string is not assignable to type never.
The second arg: Argument type string is not assignable to parameter type.
Version:
@inertiajs/react
version: 1.0.14👋🌍!
Thanks for this amazing monolith, I'ave noticed in
onChange={(e) => setData("example", e.target.value)}
a warning thrown by the IDE which says the following.The first arg of setData:
Argument type string is not assignable to parameter type keyof TForm Type string is not assignable to type never
.The second arg:
Argument type string is not assignable to parameter type.
Thanks for investigating on this issue.