Breeze TempHire Gulp生成错误

Breeze TempHire Gulp生成错误,breeze,Breeze,我已经克隆了TempHire并在VS2015(更新3)中打开了解决方案,但我得到了以下gulp构建错误:- C:/Users/Paul/Source/Repos/temphire.angular2/temphire/node_modules/@types/jasmine/index.d.ts处出错:39:38:仅在函数或构造函数实现中允许参数初始值设定项。 C:/Users/Paul/Source/Repos/temphire.angular2/temphire/node_modules/@ty

我已经克隆了TempHire并在VS2015(更新3)中打开了解决方案,但我得到了以下gulp构建错误:-

C:/Users/Paul/Source/Repos/temphire.angular2/temphire/node_modules/@types/jasmine/index.d.ts处出错:39:38:仅在函数或构造函数实现中允许参数初始值设定项。 C:/Users/Paul/Source/Repos/temphire.angular2/temphire/node_modules/@types/jasmine/index.d.ts:39:46:找不到名称“keyof”。 C:/Users/Paul/Source/Repos/temphire.angular2/temphire/node_modules/@types/jasmine/index.d.ts:39:52:“=”预期出现错误

索引d.ts的第39行如下所示:- 声明函数spyOn(对象:T,方法:keyof T):jasmine.Spy

以下是显示生成错误的屏幕截图:-

这是与您正在使用的Jasmine版本以及Visual Studio正在使用的TypeScript版本的兼容性问题。您应该能够通过以下方式解决此问题

请注意,Visual Studio安装的TypeScript版本可能与您在package.json中指定的版本不同