使用来自node.d.ts

时间:2016-01-20 12:49:58

标签: typescript mocha

在我的.ts代码中,我有mocha.run().on('start', () => {})但是它有下划线,因为typescript使用的mocha.d.ts无法识别IRunner extends Node的EventEmitter。我如何解决它?

1 个答案:

答案 0 :(得分:0)

只需在mocha.d.ts文件中执行result = np.dot(normalize(II, axis=1), normalize(I, axis=1).T)

相关问题