阅读背景:

如何存根化接口/类型定义?

来源:互联网 

I work with Typescript on an AngularJS 1.X project. I use different Javascript libraries for different purposes. To unit-test my source I would like to stub some dependencies using the Typings (= interfaces). I don't want to use the ANY-type and neither to write an empty method for each interface method.I work with Typescript on an AngularJS 1.X proj




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: