zewa666 / zewa666.github.io

Pragmatic-coder.net blog
http://pragmatic-coder.net
0 stars 0 forks source link

typesafe-jasmine-spies/ #2

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Type-safe Jasmine Spies | Pragmatic Coder

Keeping things understandable ... most of the time

https://pragmatic-coder.net/typesafe-jasmine-spies/

codego commented 4 years ago

Thank you, excellent article.

loic-b commented 3 years ago

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 ?