标签: angularjs typescript
我是角度的初学者,我想在打字稿中使用角度js,
我推荐此链接'https://gist.github.com/esfand/9569523'我的错误显示在图片下方,请帮助解决此问题
答案 0 :(得分:0)
您有错误Unexpected token。您无法直接运行TypeScript。 您需要在运行之前编译TypeScript 。
Unexpected token
使用webpack https://basarat.gitbooks.io/typescript/content/docs/quick/browser.html