I've got vanilla GSAP running with `yarn add gsap @types/gsap`, but I cannot figure out how to import the DrawSVG plugin. I've manually added it into a sibling directory called "_vendor/gsap" but the `import` just isn't working for me.
I tried adding DrawSVG to the @types/gsap file and that made the errors go away but drawSVG still isn't doing anything.
/** component.ts file */
import * as GSAP from 'gsap';
var trace = new GSAP.TimelineLite({ repeat: 0 });
trace
.fromTo($element, 6, {
drawSVG: '0% 0%'
}, {
drawSVG: '0% 100%',
ease: GSAP.Expo.easeInOut
};
Could be I've just been staring at this too long and not seeing something obvious. I found some good resources for base-model GSAP integration with TypeScript, but nothing about the paid tier plugins.