typescript & node.js

I don't know if I'm missing something, or webstorm doesn't "understand" external modules in typescript.

The code:
/// <reference path="node.d.ts" />
import http = module('http')

This code compiles fine on the command line but in webstorm I'm reciving an error in the 'http' part: Cannot resolve file 'http'.
I'm guessing that this error comes from some internal webstorm functionality - is there some way to turn it off?

Please sign in to leave a comment.