Typescript 2.2 和 Angular 2.0.0-beta.21 搭配得不好吗?

Typescript 2.2 and Angular 2.0.0-beta.21 dont go well together?

我遵循了 ASP.Net 4 的手册指南,但是当我 运行 项目时,我收到以下控制台错误

Error: declare.call is not a function
  Instantiating http://localhost:29961/Home/angular2/platform/browser
  Loading http://localhost:29961/Scripts/App/main.js
  Loading /Scripts/App/main
    at registerDeclarative (system.src.js:812)
    at system.src.js:714
    at ZoneDelegate.invoke (angular2-polyfills.js:349)
    at Zone.run (angular2-polyfills.js:242)
    at angular2-polyfills.js:597
    at ZoneDelegate.invokeTask (angular2-polyfills.js:382)
    at Zone.runTask (angular2-polyfills.js:282)
    at drainMicroTaskQueue (angular2-polyfills.js:500)

我的package.json是这样的

{
  "name": "myproject",
  "version": "1.0.0",
  "devDependencies": {
    "angular2": "^2.0.0-beta.21",
    "rxjs": "^5.2.0",
    "systemjs": "^0.20.11",
    "typings": "^2.1.0",
    "zone.js": "^0.8.5"
  }
}

可能是该指南是为旧版本的 Angular2 和 Typescript 编写的。所以我可能需要降级?

TypeScript > 2.0 仅在 Angular 4.0 中受支持您可以查看更新日志: https://github.com/angular/angular/blob/master/CHANGELOG.md

Angular 2.0.0-beta 已经比较老了,你可以考虑升级到新版本。进行了一些功能更改,因此当前的 Angular 文档可能不适用于测试版。