Angular 11: Wrong Typecheck for UnitTest Spy on HttpClient.get()

后端 未结 0 1186
借酒劲吻你
借酒劲吻你 2020-11-27 13:55

When unit testing Angular\'s HttpClient.get(...) function, it seems that TypeScript cannot check types correctly when spying on HttpClient.get(...) with given responseType.<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题