The creation of mocks is done during TypeScript compilation and preserves all type information.
This library can be used with any testing framework. You can even provide your own implementation!
No more casting to 'any' to get your spy or mock. This library provides a mechanism to inject your spies while preserving their types.