How I learned TypeScript

Mayowa Daniel
Mar 24, 2022

--

TypeScript icon and stylized text

I wrote olog.me’s website in regular react and javascript and was rewriting pretty much the whole thing for the react native app.

I found myself wondering what shape a lot of the data I was passing as props had and the need for TypeScript in my life became clear.

This cheatsheet was gold

I also used what I was learning to complete a lot of educative.io content. The questions are in JS but I solve them in my local editor with Typescript.

Between that and my app, I came away feeling great about it.

I understood the most arcane typescript syntax, generics from the official handbook. I also learned about their “utility types” from there.

Having a legit pain was my trigger.

I used to be on about how jsDoc was enough, yada yada

Now I see

TypeScript FTW

--

--

No responses yet