Using ScrollTrigger with React/Typescript (.tsx file) is causing errors for me in Visual Studio Code.

import ScrollTrigger from 'react-scroll-trigger';
Is how I'm importing it. The code is compiling fine and there are no problems running the actual code, but could this somehow be adressed so I can use ScrollTrigger in a Typescript project?
Using ScrollTrigger with React/Typescript (.tsx file) is causing errors for me in Visual Studio Code.
Is how I'm importing it. The code is compiling fine and there are no problems running the actual code, but could this somehow be adressed so I can use ScrollTrigger in a Typescript project?