Open utterances-bot opened 4 years ago
Thank you, excellent article.
Thank you and well done, BUT...
... the mockedService object exposes functions that all return a value of type 'any'. And then, when writing the '.and.returnValue(...)', no help on value type and still no more type safe...
Any idea to solve it ?
Type-safe Jasmine Spies | Pragmatic Coder
Keeping things understandable ... most of the time
https://pragmatic-coder.net/typesafe-jasmine-spies/