ramda-extension icon indicating copy to clipboard operation
ramda-extension copied to clipboard

TypeScript support

Open tommmyy opened this issue 6 years ago • 7 comments

Add TS dictionary to @types

tommmyy avatar May 23 '18 05:05 tommmyy

Hi, this ticket is opened over a year ago, is this still actively worked on, or is this issue abandoned altogether?

Maus3rVonDutch avatar Oct 15 '19 08:10 Maus3rVonDutch

@lukasduspiva ?

tommmyy avatar Oct 15 '19 08:10 tommmyy

Hi, the work on this task is postponed because we realized that functional JavaScript (which is the core of ramda-extension) is not well supported in strict TypeScript and we had several problems of using it even with Ramda functions which are already typed. Therefore it is not a big priority for us to write the typings. On the other hand, any volunteers with the focus on this domain are welcomed.

lukasduspiva avatar Oct 15 '19 09:10 lukasduspiva

Ok a bit disappointing, but I do understand. For now I only need a handful of extensions, so I think I can get way with writing some custom *.d.ts files.

Thnx for the response and your explanation.

Maus3rVonDutch avatar Oct 16 '19 08:10 Maus3rVonDutch

@Maus3rVonDutch you are welcome to help!

tommmyy avatar Oct 16 '19 08:10 tommmyy

Yes I understand I could, but I’m not able to do so. I no longer do any work at home anymore since a burnout a couple of years ago and in my work I don’t have the time to participate in any opensource projects.

Maus3rVonDutch avatar Oct 16 '19 09:10 Maus3rVonDutch

Were you guys thinking on adding the types to the repo or to @types ?

And are you expecting to have all the types for each function or should we add one at a time?

cos I'm starting to use the lib, and I can start adding types... But I dont know if I'll be able to add them all

what are your thoughts?

mribichich avatar Jun 05 '21 00:06 mribichich