As per the Jasmine documentation, there is a method called withArgs() in the Spy object.
spyOn(someObj, 'func').withArgs(1, 2, 3).and.returnValue(42);
In the TypeScript-adapted version, I am unable to locate this method. My project was initialized with angular-cli (ng new) and Jasmine was included by default. Whenever I attempt to use the withArgs() method, Visual Studio Code indicates that it does not exist in the Spy class...