How do I use WebStorm with typescript and Meteor 1.3

时间:2016-04-15 14:46:38

标签: meteor webstorm

I'm using WebStorm 2016.1 and Meteor 1.3 and typescript files. When I use 'import {Meteor} from 'meteor/meteor'I get the error 'import Error Cannot find module 'meteor/meteor'

I have run 'typings install meteor --save --ambient' and the packages seem to be inplace in the typings directory...

1 个答案:

答案 0 :(得分:-1)

此问题主要通过新版WebStorm修复。 https://youtrack.jetbrains.com/issue/WEB-21183

因此,请确保安装了WebStorm 2016.1.2,Build#WS-145.971或更高版本。