Kasama ChenkaowTypescript: Convert an array of objects to object with ID as a key and correct typingAug 31, 2023Aug 31, 2023
Kasama ChenkaowWhy process.env.SOMETHING Can Still Be Undefined: Understanding Code ExecutionYou’ve probably used environment variables in your projects, and you may have come across a situation where an environment variable seems…Aug 11, 2023Aug 11, 2023
Kasama ChenkaowDiving Into Programming: OOP from Above, FP from Below - And a Few Jokes Along the WayMay 11, 2023May 11, 2023
Kasama ChenkaowThe story of my overnight crypto botIt has been more than a year since thenJan 29, 2023Jan 29, 2023
Kasama ChenkaowWhy Typescript 3.9+ makes Sinon.spy failed?I got some issue working with Typescript 3.9+ with Sinon spying so I’m gonna put what I found informally hereOct 17, 2022Oct 17, 2022
Kasama ChenkaowTypescript: why union types intersect properties and why intersection types merge them?Hello everyone, today I’m going to talk some basics about the union types and integration types in Typescript, if you feel confident about…May 7, 2021May 7, 2021
Kasama ChenkaowTypescript: builder pattern that returns corresponding result typeRecently I needed to build a little typescript library in my work, the team came up with builder-pattern idea which also brought a simple…May 3, 2021May 3, 2021