AngularJS 2.0 TypeScript Intellij idea (or webstorm) - ES6 import syntax

前端 未结 3 1987
滥情空心
滥情空心 2021-02-07 10:22

Trying to make these steps to make AngularJS 2.0 sample app running.

On that step, putting code in app.ts:

/// 

        
3条回答
  •  天涯浪人
    2021-02-07 10:59

    There is an option in IntelliJ where you can define a custom typescript version. Default is 1.4 but you can download 1.5 beta and assign that. The only problem with the sample I've seen is to activate 1.5 new argument to generate decorators metadata. IntelliJ always report that the TS process stopped.

提交回复
热议问题