Reactjs – Why is Typescript telling me " 'offset' does not exist in type 'UseScrollOptions' "?
I am building a React website with NextJS 13, Typescript, and Framer Motion. I have the following code, basically copied and pasted from the Framer docs: const { scrollYProgress } = useScroll({ target: targetRef, container: containerRef, offset: ['start end', 'end…