2
所以我有WebStorm JavaScript项目由Systemjs and JSPM
驱动。小烦恼的是Webstorm无法看到全局System
对象,所以标记为缺少导入语句中的config.js文件。WebStorm 2016.3.2“缺少导入声明”
我也跟着提示:
When using libraries that define their own global symbols outside
their visible JavaScript code (e.g. describe() in Mocha), it is
recommended that you add the corresponding TypeScript type definition
file as a JavaScript library in Preferences | Languages & Frameworks |
JavaScript | Libraries.
而且从jspm_packages在我的项目的Webstorm设置JavaScript库添加system.js
文件。
但它并没有帮助。任何想法我失踪?