You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried importing fs module using import fs from 'fs' but this gives an error: `Module 'path' has no default export.'.
import fs = require('fs'); works but this is not ES6 syntax. I would like to stick with ES6 syntax because it is getting more and more popular and therefore easier to understand.
Are there any plans for supporting ES6 modules that import the entire TypeScript module?