阅读背景:

在Angular2中将类导出为接口

来源:互联网 

Is there a way to export a class as interface and then import that interface in another module in Angular 2? I need to be able to inject the class in a constructor in some components e.g should be registered as provider.Is there a way to export a class as interface a




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

分享到: