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

前端 未结 3 1982
滥情空心
滥情空心 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 11:00

    you need select javascript version in Preferences page.

    Languages & Frameworks -> JavaScript

    on the right page. JavaScript language version dropdown menu. on my idea it's has some item below.

    JavaScript 1.5 ECMAScript 5.1 JavaScript 1.6 JavaScript 1.7 JavaScript 1.8 JavaScript 1.8.6 ECMAScript 6 ...

提交回复
热议问题