scottbedard / gradient

A customizable version of Stripe.com's background animation
https://gradient.scottbedard.net
4 stars 0 forks source link

Not Compatible with Typescript Applications #1

Open rmurarishetti opened 1 month ago

rmurarishetti commented 1 month ago

Hey Scott,

I can't use your library for typescript and would greatly appreciate it if you could add type declarations for the Gradient export in your node package.

It would be greatly appreciated if you can add the same.

scottbedard commented 1 month ago

Hi, unfortunately this project is no longer maintained, I simply have too many other things on my plate. I'd be happy to accept a pull request for Typescript support though.

For now, I imagine using a module declaration could solve your problem. Hope this helps!

// gradient.d.ts
declare module '@bedard/gradient'