February 3, 2022•9 min readMemoizing an n-ary function in TypeScriptIn this post, I talk about an approach to memoizing a n-ary function in JavaScript / TypeScript preserving the flow of types.TypeScriptJavaScriptOptimizationRead article
March 4, 2020•9 minTypeScript - Typing object pathsIn this post, I'm going to use some features of TypeScript that are often considered "advanced". In the first section, I'll mention most of the TypeScript features I'm going to use and also point to their documentation for references. The post is about how we can get stricter types for Object Paths for different use-cases.TypeScriptJavaScriptRead more