@react-spring/web + children not defined
This is a reported bug in @react-spring/web that is still open at the time of writing.
Deftunk recommends creating a custom.d.ts
file and overriding the type:
javascript
import reactSpring from "@react-spring/web";
declare module "@react-spring/web" {
const animated = {
children: React.ReactNode,
...reactSpring.animated,
};
}