I\'m running on a MacBook Air. I installed VS Code as an IDE and also have TypeScript installed.
I have a simple file with just this line:
import fs = req
Typescript knows about modules based upon conventions , check Module resolution for more detail.
Also for IDE to know about fs module, you have to provide typings for node.
fs
Also check this github issue