我正在使用打字稿。我可以创建简单的打字稿样本并运行。当我创建复杂类型的代码时,Visual Studio 没有响应。
你们中的任何人都知道这个问题的原因吗?TaskManager 上的 Performance 选项卡大约占 35%。你们中的任何人都知道这个问题吗?
我实现的代码如下所示,
module myModule{
export class myClass implements myInterface{
// code to PartialUpdate, otalUpdate function declarations and
// extra properties and methods
}
export interface myInterface{
PartialUpdate:void;
TotalUpdate:void;
}
}
注意:在开始构建之前,Visual Studio 在创建代码本身时变得没有响应。
我使用了以下扩展:
- 微软网络开发工具,
- Nuget 包管理器,
- 用于 VS 2012 的打字稿
- VS Extensions for Windows Library for JavaScript 和
- 网络要点 2012
我的系统配置是
- 处理器:奔腾双核2.70GHZ
- 内存:4 GB
- 系统类型:64位