Forbidden Typescript: Spreading Type-holes
I've discussed full and partial objects before on this blog, and in this article I'm going to investigate a common factory pattern in Typescript that can lead to type-holes. When writing tests or complex components, I'll often create prop factory utilities.
technologyprogrammingreacttypescript