如果我使用 TypeScript 创建 ES5 脚本,我的 html 中是否需要 traceur 脚本标签?

If I use TypeScript to create ES5 script, do I need a traceur script tag in my html?

我正在使用 TypeScript 1.5 为一个简单的 angular2 应用程序生成 ES5 脚本。

我是否需要在我的 index.html 文件中包含引用模块加载器(例如 SystemJS)的脚本元素和引用 traceur(例如下面的脚本元素)的脚本元素?

<script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.91/traceur-runtime.js"></script>
script src="https://jspm.io/system@0.16.js"></script>

...或者我只需要 SystemJS 的脚本元素?

不,据我所知,traceur 仍然是 angular2 的依赖项。但是删除它有一个问题,因此将来有可能。 Here you can find the issue 如果你想跟踪进度的话。