In the code snippet below, a new instance of ClickerApp is being created with a PlatformMock and MenuMock as parameters:
let instance = new ClickerApp((<any> new PlatformMock), (<any> new MenuMock));
This code example is taken from the following source: https://github.com/lathonez/clicker/blob/master/src/app/app.spec.ts
It appears that there is a type casting happening here. What is the purpose of this cast? Can you explain what's going on in this code snippet?