Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Total TypeScript
(Uncensored)
subscribe
Use deep partials to help with mocking an entity (tip)
https://www.totaltypescript.com/tips/use-deep-partials-to-help-with-mocking-an-entity
links
backlinks
Deep partials are SUPER useful and not natively supported by TypeScript. Here, I use one to help with mocking an entity in a (imaginary) test file.