#Another GSAP question (typescript)

6 messages · Page 1 of 1 (latest)

jagged gull
#

I've successfully imported and been able to utilize GSAP, but wherever I import it (with <script>) my typescript hints completely break. If I move things around a couple times and save a bunch it might work once or twice but it's really unreliable.

As pictured, if I delete the script tag, my props suggesstions show up as they should. If I add the script, they go away.

Any ideas?

leaden bison
#

Hello @jagged gull, how does your Bubble.astro comp look like?

leaden bison
#

did you try adding the script inside that component?

#

that behavior you're facing is weird. I've played a little with GSAP but i don't know what might be causing that ts-server bug.

jagged gull
#

That does work but was hoping to do my orchestration from the Thread component. Oh well.