Hi,
I'm trying to start using gsap in Vue with Typescript application.
I started to download gsap using npm (npm i gsap).
Then I wanted to import the library by :
import { TweenLite, Linear } from 'gsap';
Then i got the following error :
"cannot resolve definitions for module gsap"
I assumes I need to install typescript definition (right ?)
npm install @types/greensock
and added the following in the tsconfig.app.json
"types": ["greensock"]
Now I get the following error :
Duplicated Identifier 'Animation' (see atached screen)
Any advice ?
Thx
Sagi