Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Oh TypeScript!!!

I’ve written before about the weirdness of Typescript and instance functions of classes. To summarise. Let’s say we’re using map on an array of strings, and we therefore need to give it a function (item: string) => Something – and maybe we have a SomethingFactory which can use its internal state to make our things ...



This post first appeared on Java Code Geeks, please read the originial post: here

Share the post

Oh TypeScript!!!

×

Subscribe to Java Code Geeks

Get updates delivered right to your inbox!

Thank you for your subscription

×