I am trying to create a simple TypeScript project in WebStorm that imports a Node.js module. I have downloaded the relevant library TypeScript definition in settings and have specified --module commonjs in compiler settings, but I am receiving a Cannot find external module error when I try to actually import the module.
This is the most basic example I can think of. What am I missing here?
