I'm running on a MacBook Air. I installed MS Code as an IDE and also have TypeScript installed.
I have a simple file with just this line:
import fs = require('fs');
I'm getting a red squiggly under the 'fs' inside the parenthesis and the error message is
[ts] Cannot find module 'fs'.
was a core module, so how could it not be found? How do I fix the problem?
Other things that I tried already:
I poked around SE and the web, but the answers that seemed close all appear to assume that 'fs' is available.