Skip to content

Support for interfaces

Compare
Choose a tag to compare
@NagRock NagRock released this 20 Jul 21:18
· 18 commits to master since this release

It took a lot of time but... looks like we've got support for interfaces πŸŽ‰

Simply use generic type for mock function and omit argument for it:

let mockedInterface: MyInterface = mock<MyInterface>();

Great thanks for @johanblumenberg who created first implementation and pushed me to support interfaces. Thanks for your patience.