-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
By DesignDeprecated - use "Working as Intended" or "Design Limitation" insteadDeprecated - use "Working as Intended" or "Design Limitation" instead
Description
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?
Pkmmte, frosas and AntonioRedondo
Metadata
Metadata
Assignees
Labels
By DesignDeprecated - use "Working as Intended" or "Design Limitation" insteadDeprecated - use "Working as Intended" or "Design Limitation" instead