ModuleImport

Kevin Smith zenparsing at gmail.com
Thu Jun 19 05:57:30 PDT 2014


>
>
> ```js
> import * as fs from "fs"; // importing the named exports as an object
> import Dict from "dict";  // importing a default export, same as ever
> ```
>

It's a little wordy, but it fulfills the goals and feels pleasant to write.
 +1 from me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140619/e5ca7ff4/attachment.html>


More information about the es-discuss mailing list