generative-utils icon indicating copy to clipboard operation
generative-utils copied to clipboard

ts types

Open calindotgabriel opened this issue 4 years ago • 6 comments

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

calindotgabriel avatar Jan 04 '22 19:01 calindotgabriel

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.

WillsterJohnson avatar Jan 31 '22 00:01 WillsterJohnson

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!

georgedoescode avatar Feb 11 '22 13:02 georgedoescode

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

calindotgabriel avatar Feb 11 '22 14:02 calindotgabriel

Also very interested.

ryceg avatar Mar 01 '22 22:03 ryceg

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

TalRodin avatar Aug 02 '22 15:08 TalRodin

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!

georgedoescode avatar May 16 '24 10:05 georgedoescode