© 1999-2048 dssz.net 粤ICP备11031372号
[其它] check-dts:JS开源库中TypeScript定义的单元测试-源码
说明:检查Typescr ipt定义 Javascr ipt开源库中的.d.ts Typescr ipt定义的单元测试。 对于非Typescr ipt项目很有用,该项目希望为Typescr ipt用户提供键入支持,并为IDE和文本编辑器提供自动补全功能。 它对于具有泛型的复杂类型尤其有用,例如在或。 // Negative test: test/index.errors.ts import lib = require ( '../' ) interface Events { 'set' : (<weixin_42098892> 上传 | 大小:142kb