2022-11-28
~2 min read
335 words
When writing an interface for a function, it’s common to want to allow a range of types. This can often be communicated with a generic. For…