News for hackers. Stuff that matters.
Re:Porting 30K lines of code from Flow to TypeScript by arcticfox on Monday January 14, 2019 @07:35PM (#18907947)
I have the same experience; I wonder if anyone is working on a TS-friendly utility library, or if our best hope is the work on TS itself on [0]?
Re:Porting 30K lines of code from Flow to TypeScript by chrisweekly on Tuesday January 15, 2019 @01:11AM (#18909145)
I wonder if ramda is any better in that regard?
Re:Porting 30K lines of code from Flow to TypeScript by kristiandupont on Tuesday January 15, 2019 @07:48AM (#18910756)
I love Ramda and use it everywhere but sadly, it's somewhat lacking when it comes to type definitions. Everything in Ramda is curried and the types just don't reflect that very well so you get quite a few incorrect compiler errors.
Re:Porting 30K lines of code from Flow to TypeScript by chrisweekly on Wednesday January 16, 2019 @11:35AM (#18922258)
Yeah, I remember liking the auto-currying, that makes sense it has a downside here.