georgedoescode / generative-utils

A collection of handy generative art utilities
MIT License
289 stars 22 forks source link

ts types #1

Open calindotgabriel opened 2 years ago

calindotgabriel commented 2 years ago

hey george appreciate your work man,

really impressed by the code you wrote to generate a big sur styled gradient

any plans on adding typescript types ? i want to play around with the code more

WillsterJohnson commented 2 years ago

Came here to ask the same thing.

I'd be happy to implement TypeScript typings for you, either converting the codebase to TypeScript or adding a set of declaration files as to not disturb the source JS.

georgedoescode commented 2 years ago

Hey folks! Thank you so much for your kind words and for using my library to make things <3

I'm actually considering a fairly intensive re-write of the library at the moment, as it seems people are using it for actual stuff... Part of that re-write, will likely be TS support. I don't know TS myself, and likely won't learn it for this project, but I really like the idea of having typings in separate files (I think I have this on my vb-canvas lib!).

Nearer the time, if either of you would be interested in helping i'll bump this issue then go from there?

Cheers!

calindotgabriel commented 2 years ago

nice! I'd sure like to help I'll keep an eye on this

ryceg commented 2 years ago

Also very interested.

TalRodin commented 2 years ago

Hi, George! do we have typescript types yet? Thank you!!

georgedoescode commented 5 months ago

Hello! I know it's been a while since this issue was opened, but I wanted to give a brief update that I have finally started rewriting generative-utils — this time with a focus on type safety, bundle size, and test coverage. Stay tuned!