typescript: inferring types

2021-12-20

 | 

~2 min read

 | 

367 words

Let’s assume I have a type that’s defined in a third party library. Let’s say its shape is: How might I be able to derive the type of the…

dbms keys: comparing compound and composite keys

2021-12-19

 | 

~2 min read

 | 

277 words

https://www.guru99.com/dbms-keys.html What is the Compound key? COMPOUND KEY has two or more attributes that allow you to uniquely recognize…

mongoose: compound index

2021-12-18

 | 

~2 min read

 | 

349 words

Previously, I wrote about adding indexes to Mongo databases manually. I’m working with Mongoose now and wanted to understand what was…

mongo (and mongoose) with typescript

2021-12-07

 | 

~2 min read

 | 

276 words

I was working on a project recently that was using Mongo as its data store. Unforuntately, because I was using the node driver for directly…

jest: configuring for typescript and esm

2021-12-06

 | 

~1 min read

 | 

90 words

A natural follow up to Configuring Jest for Typescript with ts-jest, this Jest configuration write up is about configuring Jest to use…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!