Type safe URL templates

31 October 2024

Updated: 01 November 2024

I don’t think the below is a good idea, but I thought it was a fun little Typescript excercise so here you go

Something I see as a sort of recurring pattern is people doing template replacements in URLs, particularly something like this: