Atom编辑不能识别Angular 2Jasmine TestBed的关键字(如describe,expect,it,beforeEach),即使我已经安装了我能找到的所有相关的atom片段(使用apm)。
发布于 2016-11-07 12:30:38
您需要安装@types/jasmine,然后可以像这样在MyCoponent.spec.ts中添加引用
///<reference path='../../node_modules/@types/jasmine/index.d.ts' />https://stackoverflow.com/questions/40457529
复制相似问题